Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. even = 0
  2. odd = 0
  3. while even < 10:
  4.     string = int(input())
  5.     if string %2 == 0:
  6.         even+=1
  7.     elif string == 0:
  8.         continue
  9.     elif string %2 != 0:
  10.         odd+=1
  11. print(odd)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement