Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- numbers = list(map(int, input().split()))
- count = 0
- for num in numbers:
- if num & 1 == 1:
- count += 1
- print(count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement