if or python

51

weather = input("How's the weather? ")

if weather == "Good!" or weather == "Great!": 
	print('Glad to hear!')
else: 
	print('Too bad!')

Comments

Submit
0 Comments