Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TheWeather
- #What you need to put on for the day
- rainy=input("is it raining?(yes or no)").lower()
- cold = input("is it cold outside?(yes or no)").lower()
- if rainy == "Yes" and cold == "Yes":
- print("Wear a raincoat.")
- elif rainy == "Yes" and cold == "No":
- print("Take an umbrella.")
- elif rainy == "No" and cold == "Yes":
- print("Wear a jacket.")
- elif rainy == "No" and cold =="No":
- print("Wear your shorts and t-shirt.")
Add Comment
Please, Sign In to add comment