Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # _*_ coding: utf-8 _*_
- count = 0
- number = int(input())
- for i in range (9):
- tmp = number
- number = int(input())
- if number // abs(number) != tmp // abs(tmp):
- count += 1
- print (count)
Advertisement
Add Comment
Please, Sign In to add comment