LearnPy Hub
← Data Types & Casting problems
Medium

Is It a Whole Number?

Read a line of text and print True if it contains only digits (a non-negative whole number), otherwise False.

Input

One line.

Output

True or False.

Sample 1

Input
123
Output
True

Sample 2

Input
12a
Output
False
solution.py
Output appears here
Hints
Is It a Whole Number? · Python practice problem · LearnPy Hub