first group of challenges
This commit is contained in:
11
challenges12-19/challenge-016.py
Normal file
11
challenges12-19/challenge-016.py
Normal file
@@ -0,0 +1,11 @@
|
||||
answer = str(input('is it raining? yes|no : '))
|
||||
answer = answer.lower()
|
||||
if answer == 'yes':
|
||||
windy = str(input('is it windy! yes|no : '))
|
||||
windy = windy.lower()
|
||||
if windy == 'yes':
|
||||
print('It is too windy for umbrella')
|
||||
else:
|
||||
print('Take an umbrella')
|
||||
else:
|
||||
print('Enjoy your day')
|
Reference in New Issue
Block a user