Back to tasks
The comparison sign
BeginnerPython for kids 路 Lesson 23: elif - many options
Problem Statement
Read two numbers a and b. Print the sign < if a is less than b, > if it is greater, and = if they are equal.
Input Format
Two whole numbers a and b, each on its own line (-1000 <= a, b <= 1000).
Output Format
One sign: <, > or =.
Examples
Example 1
Input
3 8
Output
<
Example 2
Input
8 3
Output
>
Example 3
Input
5 5
Output
=