AnnaVolkova

Untitled

Jul 13th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. a=int(input())
  2. c=0
  3. for i in range(9):
  4. a2=int(input())
  5. if a*a2<0:
  6. c+=1
  7. a=a2
  8. print(c)
Add Comment
Please, Sign In to add comment