LearnPy Hub
← Lists problems
Easy

Count Positives

Read a list of integers and print how many are greater than zero.

Input

One line of integers.

Output

A count.

Sample 1

Input
1 -2 3 0
Output
2

Sample 2

Input
-1 -2
Output
0
solution.py
Output appears here
Count Positives · Python practice problem · LearnPy Hub