first group of challenges

This commit is contained in:
abd.shallal
2019-07-17 09:56:46 +03:00
commit 375875c7a1
379 changed files with 107059 additions and 0 deletions

View 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')