Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- c = 0
- for i in range(n):
- p = int(input())
- if p % 2 == 0:
- c = c + 1
- print(c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement