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