-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzookeeper.py
More file actions
141 lines (134 loc) · 4.52 KB
/
zookeeper.py
File metadata and controls
141 lines (134 loc) · 4.52 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
camel = """
Switching on camera from habitat with camels...
___.-''''-.
/___ @ |
',,,,. | _.'''''''._
' | / \\
| \ _.-' \\
| '.-' '-.
| ',
| '',
',,-, ':;
',,| ;,, ,' ;;
! ; !'',,,',',,,,'! ; ;:
: ; ! ! ! ! ; ; :;
; ; ! ! ! ! ; ; ;,
; ; ! ! ! ! ; ;
; ; ! ! ! ! ; ;
;,, !,! !,! ;,;
/_I L_I L_I /_I
Yey, our little camel is sunbathing!"""
lion = """
Switching on camera from habitat with lions...
,w.
,YWMMw ,M ,
_.---.._ __..---._.'MMMMMw,wMWmW,
_.-"" ''' YP"WMMMMMMMMMb,
.-' __.' .' MMMMW^WMMMM;
_, .'.-'"; `, /` .--"" :MMM[==MWMW^;
,mM^" ,-'.' / ; ; / , MMMMb_wMW" @\\
,MM:. .'.-' .' ; `\ ; `, MMMMMMMW `"=./`-,
WMMm__,-'.' / _.\ F'''-+,, ;_,_.dMMMMMMMM[,_ / `=_}
"^MP__.-' ,-' _.--"" `-, ; \ ; ;MMMMMMMMMMW^``; __|
/ .' ; ; ) )`{ \ `"^W^`, \ :
/ .' / ( .' / Ww._ `. `"
/ Y, `, `-,=,_{ ; MMMP`""-, `-._.-,
(--, ) `,_ / `) \/"") ^" `-, -;"\:
The lion is croaking!"""
deer = """
Switching on camera from habitat with deers...
/| |\\
`__\\\\ //__'
|| ||
\__`\ |'__/
`_\\\\ //_'
_.,:---;,._
\_: :_/
|@. .@|
| |
,\.-./ \\
;;`-' `---__________-----.-.
;;; \_\\
';;; |
; | ;
\ \ \ | /
\_, \ / \ |\\
|';| |,,,,,,,,/ \ \ \_
| | | \ / |
\ \ | | / \ |
| || | | | | |
| || | | | | |
| || | | | | |
|_||_| |_| |_|
/_//_/ /_/ /_/
Our 'Bambi' looks hungry. Let's go to feed it!"""
goose = """
Switching on camera from habitat with lovely goose...
_
,-"" "".
,' ____ `.
,' ,' `. `._
(`. _..--.._ ,' ,' \ \\
(`-.\ .-"" ""' / ( d _b
(`._ `-"" ,._ ( `-( \\
<_ ` ( <`< \ `-._\\
<`- (__< < :
(__ (_<_< ;
`------------------------------------------
This bird stares intently at you... (Maybe it's time to change the channel?)"""
bat = """
Switching on camera from habitat with bats...
_________________ _________________
~-. \ |\___/| / .-~
~-. \ / o o \ / .-~
> \\\\ W // <
/ /~---~\ \\
/_ | | _\\
~-. | | .-~
; \ / i
/___ /\ /\ ___\\
~-. / \_/ \ .-~
V V
It looks like this bat is fine."""
rabbit = """
Switching on camera from habitat with rabbits...
,
/| __
/ | ,-~ /
Y :| // /
| jj /( .^
>-"~"-v"
/ Y
jo o |
( ~T~ j
>._-' _./
/ "~" |
Y _, |
/| ;-"~ _ l
/ l/ ,-"~ \\
\//\/ .- \\
Y / Y
l I !
]\ _\ /"\\
(" ~----( ~ Y. )
It seems there will be more rabbits soon!"""
animals = [camel, lion, deer, goose, bat, rabbit]
user_animal = 0
while user_animal != "exit":
print("Which habitat # do you need?")
user_animal = input()
if user_animal == "0":
print(animals[0])
if user_animal == "1":
print(animals[1])
elif user_animal == "2":
print(animals[2])
elif user_animal == "3":
print(animals[3])
elif user_animal == "4":
print(animals[4])
elif user_animal == "4":
print(animals[4])
elif user_animal == "5":
print(animals[5])
print("See you!")