Focus on the positive

Report a typo

Write a program that reads an integer value from the input and checks if it is positive.

Hints:

0 is not a positive number.

A comparison already returns a boolean, so if you need the result of the comparison, you can print it, like this print(5 > 9) # False

Sample Input 1:

8

Sample Output 1:

True
Write a program in Python 3
# Please don't modify this code
# `a` stores an input value
a = int(input().strip())

# put your code here
___

Create a free account to access the full topic