Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- counter = 0
- command = input()
- while command != "END":
- if command == "dog" or command == "cat" or command == "movie" or command == "coding":
- counter += 1
- elif command == "DOG" or command == "CAT" or command == "MOVIE" or command == "CODING":
- counter += 2
- if counter > 5:
- print("You need extra sleep")
- break
- command = input()
- else:
- print(counter)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement