-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtutorial_36.py
36 lines (27 loc) · 957 Bytes
/
tutorial_36.py
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
31
32
33
34
35
36
try:
def call(location_reply):
print('Pete!!!!!!! . . .', location_reply)
def house():
def bedroom():
def bathroom():
pass
# BATHROOM
# pete = 'I am in the bathroom.'
# call(pete)
def closet():
pass
# CLOSET
# pete = 'I am in the closet.'
# call(pete)
# BEDROOM
# pete = 'I am in the bedroom.'
# call(pete)
# HOUSE
# pete = 'I am in the house.'
# call(pete)
# OUTSIDE/GLOBAL
# pete = 'I am outside.'
# call(pete)
except NameError:
pete = '*no response*'
call(pete)