LearnPy Hub
← If…Else problems
Easy

Smaller One First

Read two integers (one per line) and print them on one line with the smaller first, using an if statement.

Input

Two integers.

Output

One line.

Sample 1

Input
5
3
Output
3 5

Sample 2

Input
1
9
Output
1 9
solution.py
Output appears here
Smaller One First · Python practice problem · LearnPy Hub