LearnPy Hub
← Data Types & Casting problems
Easy

True or False?

Read a whole number and print bool() of it: False for 0, True otherwise.

Input

One integer.

Output

True or False.

Sample 1

Input
0
Output
False

Sample 2

Input
5
Output
True
solution.py
Output appears here
True or False? · Python practice problem · LearnPy Hub