-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path1049_1.py
More file actions
34 lines (25 loc) · 749 Bytes
/
1049_1.py
File metadata and controls
34 lines (25 loc) · 749 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
31
32
33
34
word1 = input()
word2 = input()
word3 = input()
if word1 == 'vertebrado':
if word2 == 'ave':
if word3 == 'carnivoro':
print('aguia')
elif word3 == 'onivoro':
print('pomba')
elif word2 == 'mamifero':
if word3 == 'onivoro':
print('homem')
elif word3 == 'herbivoro':
print('vaca')
elif word1 == 'invertebrado':
if word2 == 'inseto':
if word3 == 'hematofago':
print('pulga')
elif word3 == 'herbivoro':
print('lagarta')
elif word2 == 'anelideo':
if word3 == 'hematofago':
print('sanguessuga')
elif word3 == 'onivoro':
print('minhoca')