Untitled

mail@pastecode.io avatarunknown
plain_text
a month ago
430 B
2
Indexable
Never
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!")