Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- animal = input()
- if animal == "dog":
- print("mammal")
- elif animal in ["crocodile", "tortoise", "snake"]:
- print("reptile")
- else:
- print("unknown")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement