Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- count = 0
- while True:
- x = int(input())
- if x==0:
- break
- if x%2==0 and x%5==0:
- count = count + x
- print(count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement