-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path1049.py
More file actions
29 lines (25 loc) · 765 Bytes
/
Copy path1049.py
File metadata and controls
29 lines (25 loc) · 765 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
word1 = input()
word2 = input()
word3 = input()
#If vertebrado is selected
if ( word1 == "vertebrado" and word2 == "ave"):
if word3 == "carnivoro":
print("aguia")
if word3 == "onivoro":
print("pomba")
if ( word1 == "vertebrado" and word2 == "mamifero"):
if word3 == "herbivoro":
print("vaca")
if word3 == "onivoro":
print("homem")
#If invertebrado is selected
if ( word1 == "invertebrado" and word2 == "inseto"):
if word3 == "hematofago":
print("pulga")
if word3 == "herbivoro":
print("lagarta")
if ( word1 == "invertebrado" and word2 == "anelideo"):
if word3 == "hematofago":
print("sanguessuga")
if word3 == "onivoro":
print("minhoca")