Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numlist = [int(i) for i in input().split()]
- counter = 0
- def func(i):
- if i%15==0:
- return 1
- else:
- return 0
- for i in numlist:
- if func(i):
- counter += 1
- print(counter)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement