-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathLocical-experssion-exercise
41 lines (37 loc) · 2.14 KB
/
Locical-experssion-exercise
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
#Check if magician and expert:if true"you are a master magician
#check if magician but not expert:'At least your getting there
#if you're not a magicain"You need magic Powers
is_magician = False
is_expert = True
if is_magician and is_expert:
print('You are a master magician')
elif is_magician:
print('At least your getting there.')
else:
print('You need magic powers.')
/\ /\
| \ / |
| \ / \ / |
| \ /\ / \ / \ / |
| \ ^ / \/ \/ \ ^ / |
| |
/ \
/ \ / \
/ | \ / | \
/ | \ / | \
/ | @\ /@ | \
/ | \ / | \
/ \___/ \___/ \
/ \
/ |\______________________/| \
/ \ | | | | | | | /\ \
/ / \ | | | | | | | / \ \
/ / \ | | | | | | | / \ \
/ / \ \ | | | | | / / \ \
/ \ \ \_|___|___|___|___|__/ / / \
\/\/\/ /\ /\ \/\/\/
/ \ / \
| |
| \____________________/ |
\ | | /
<_________/ \_________>