Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- product = 1
- x = int(input())
- while x != 0:
- if x < 0:
- product *= x
- x = int(input())
- print(product)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement