Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- even = 0
- odd = 0
- while even < 10:
- string = int(input("Введите число: "))
- if string == 0:
- continue
- elif string %2 == 0:
- even+=1
- elif string %2 != 0:
- odd+=1
- print(odd)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement