python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
count = 0 p = 1 for _ in range(9): x = int(input()) if x > 0: p *= x count += 1 if count > 0: print(count, p, sep="\n") else: print('NO')
Share this code with others
Public
Clear
My Repos
Repo
Lang
Login
Register
Login
Create a free account. No Credit card info required.
I agree with the Codepy
Term of Service
Sign Up