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