LearnPy Hub
← Data Types & Casting problems
Easy

Is It Truthy?

Read a line. Print bool() of the text, then bool() of its length minus 1.

Input

One line (may be one character).

Output

Two lines.

Sample 1

Input
hello
Output
True
True

Sample 2

Input
a
Output
True
False
solution.py
Output appears here
Is It Truthy? · Python practice problem · LearnPy Hub