Advertisement
gustbs

URI1049

Mar 17th, 2020
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. animals = {'vertebrado': {'ave': {'carnivoro': 'aguia', 'onivoro': 'pomba'}\
  2.                          ,'mamifero': {'onivoro': 'homem','herbivoro': 'vaca'}}\
  3.          ,'invertebrado': {'inseto': {'hematofago': 'pulga', 'herbivoro': 'lagarta'}\
  4.                           ,'anelideo': {'hematofado': 'sanguessuga', 'onivoro': 'minhoca'}}}
  5. definition1 = input()
  6. definition2 = input()
  7. definition3 = input()
  8. print(animals[definition1][definition2][definition3])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement