Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- word_snake = input()
- word_matches = ["water", "sand", "sun", "fish"]
- match = 0
- for i in range(len(word_matches)):
- match += word_snake.lower().count(word_matches[i])
- print(match)
Advertisement
Add Comment
Please, Sign In to add comment