Untitled

 avatar
unknown
plain_text
2 years ago
430 B
7
Indexable
print("What is the weather forecast for tomorrow?")
temp = int(input("Temperature: "))
rain = str(input("Will it rain (yes/no): "))
print("Wear jeans and a T-shirt")
if temp < 21 :
    print("I recommend a jumper as well")
if temp < 11:
    print(" Take jacket with you")
if temp < 7 :
    print("Make it a warm coat, actually\nI think gloves are in order") 

if rain == "yes":
    print("Don't forget your umbrella!")
Editor is loading...