Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = input()
- if (s == "banana" or s == "apple" or s == "kiwi" or s == "cherry" or s == "lemon" or s == "grapes"):
- print("fruit")
- elif (s == "tomato" or s == "cucumber" or s == "pepper" or s == "carrot"):
- print("vegetable")
- else:
- print("unknown")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement