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