-
Notifications
You must be signed in to change notification settings - Fork 0
/
zookeeper2.py
54 lines (48 loc) · 2.32 KB
/
zookeeper2.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
######### Description #########
# One of the most important parts of working with animals is keeping an eye on them. We need to see the animals on the screen to know how they are doing, right? Now we are ready to print something awesome: an image of an animal!
######### Objectives #########
# For the second stage, you will need to develop an animal printer. Your program should display the animal identified in the code field.
# Please, don't remove the r character at the start of the code template. It's a part of the string and it's important. So, the string should start with r""" sequence. This “r” at the beginning stands for “raw” and allows various characters to be used in a string without escaping. For instance, “\” in a non-raw string should be escaped as follows: “\\”.
######### Example #########
# Your output should contain the following ASCII image:
# Switching on the camera in the camel habitat...
# ___.-''''-.
# /___ @ |
# ',,,,. | _.'''''''._
# ' | / \
# | \ _.-' \
# | '.-' '-.
# | ',
# | '',
# ',,-, ':;
# ',,| ;,, ,' ;;
# ! ; !'',,,',',,,,'! ; ;:
# : ; ! ! ! ! ; ; :;
# ; ; ! ! ! ! ; ; ;,
# ; ; ! ! ! ! ; ;
# ; ; ! ! ! ! ; ;
# ;,, !,! !,! ;,;
# /_I L_I L_I /_I
# Look at that! Our little camel is sunbathing!
######### My code #########
print(r"""
Switching on the camera in the camel habitat...
___.-''''-.
/___ @ |
',,,,. | _.'''''''._
' | / \
| \ _.-' \
| '.-' '-.
| ',
| '',
',,-, ':;
',,| ;,, ,' ;;
! ; !'',,,',',,,,'! ; ;:
: ; ! ! ! ! ; ; :;
; ; ! ! ! ! ; ; ;,
; ; ! ! ! ! ; ;
; ; ! ! ! ! ; ;
;,, !,! !,! ;,;
/_I L_I L_I /_I
Look at that! Our little camel is sunbathing!
""")