Advertisement
Rayk

Untitled

Mar 30th, 2020
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. animal = input()
  2. if animal == 'dog':
  3. print('mammal')
  4. elif animal == 'crocodile' or animal == 'tortoise' or animal == 'snake':
  5. print('reptile')
  6. else:
  7. print('unknown')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement