59. Python Program to Check If a Number Is Positive
Easyif
Overview
Run one line only when a condition is True.
Problem Statement
Read a whole number. If it is greater than 0, print Positive. Then, whatever the number, print Checked. For example, for 5:
Positive
Checked
Use input() with no prompt text: the tests type the input for you, and a prompt would end up in your output.
Input
One value per line, in this order. Example:
5
Output
The output for that example:
Positive
Checked
The tests try 3 different inputs.