Advertisement
dgodinov

animal_type

Apr 17th, 2021
1,067
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. animal_one = input()
  2. animal_two = input()
  3. animal_three = input()
  4.  
  5. if animal_one == "dog":
  6.     print("mammal")
  7. if animal_two == "crocodile" or animal_two == "tortoise" or animal_two == "snake":
  8.     print("reptile")
  9. if animal_three == animal_three:
  10.     print("unknown")
  11.  
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement