LearnPy Hub
← Data Types & Casting problems
Easy

Compare as Text, Compare as Numbers

Read two whole numbers. Print whether the first is smaller when compared as text (a < b on the strings), then whether it is smaller when compared as numbers, on two lines.

Input

Two integers on separate lines.

Output

Two lines.

Sample 1

Input
10
9
Output
True
False

Sample 2

Input
2
3
Output
True
True
solution.py
Output appears here
Hints
Compare as Text, Compare as Numbers · Python practice problem · LearnPy Hub