Advertisement
snowden_web

Untitled

Sep 26th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. product = 1
  2. x = int(input())
  3. while x != 0:
  4.    if x < 0:
  5.        product *= x
  6.    x = int(input())
  7. print(product)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement