Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = input().lower()
- words = ["sand", "water", "fish", "sun"]
- print(sum([text.count(word) for word in words]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement