Advertisement
aneliabogeva

Animal Type

Apr 15th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. animal = input()
  2. if animal == "dog":
  3. print("mammal")
  4. elif animal == "crocodile":
  5. print("reptile")
  6. elif animal == "tortoise":
  7. print("reptile")
  8. elif animal == "snake":
  9. print("reptile")
  10. else:
  11. print("unknown")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement