-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathraincheck.py
More file actions
30 lines (29 loc) · 898 Bytes
/
raincheck.py
File metadata and controls
30 lines (29 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
def isRaining():
print('Time to head out. Is it raining?')
check = input()
if check == 'yes':
print('No big. Got an umbrella??')
bumbershoot = input()
if bumbershoot == 'yes':
print('K, see you')
elif bumbershoot == 'no':
print('Wait for a while')
print('.')
print('..')
print('...')
print('Is it still raining?')
still = input()
if still == 'yes':
print('Wait a little longer I guess...')
print('.')
print('..')
print('...')
print('....')
print('.....')
print('......')
print('.......')
print('........')
print('.........')
elif check == 'no':
print('K, see you')
isRaining()