DerioFT

1049.py

Sep 19th, 2021
810
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.85 KB | None | 0 0
  1. input1 = input()
  2. input2 = input()
  3. input3 = input()
  4.  
  5. if input1 == 'vertebrado' and input2 == 'ave' and input3 == 'carnivoro':
  6.     animal = 'aguia'
  7.    
  8. if input1 == 'vertebrado' and input2 == 'ave' and input3 == 'onivoro':
  9.     animal = 'pomba'
  10.  
  11. if input1 == 'vertebrado' and input2 == 'mamifero' and input3 == 'onivoro':
  12.     animal = 'homem'
  13.  
  14. if input1 == 'vertebrado' and input2 == 'mamifero' and input3 == 'herbivoro':
  15.     animal = 'vaca'
  16.  
  17. if input1 == 'invertebrado' and input2 == 'inseto' and input3 == 'hematofago':
  18.     animal = 'pulga'
  19.  
  20. if input1 == 'invertebrado' and input2 == 'inseto' and input3 == 'herbivoro':
  21.     animal = 'lagarta'
  22.  
  23. if input1 == 'invertebrado' and input2 == 'anelideo' and input3 == 'hematofago':
  24.     animal = 'sanguessuga'
  25.  
  26. if input1 == 'invertebrado' and input2 == 'anelideo' and input3 == 'onivoro':
  27.     animal = 'minhoca'
  28.  
  29. print(animal)
Advertisement
Add Comment
Please, Sign In to add comment