Back to tasks
The distance
BeginnerPython for kids 路 Lesson 22: if and else - one of two
Problem Statement
Read two numbers a and b. Print the difference between them - always without a minus (subtract the smaller from the bigger).
Input Format
Two whole numbers a and b, each on its own line (-1000 <= a, b <= 1000).
Output Format
One number - the result.
Examples
Example 1
Input
10 3
Output
7
Example 2
Input
3 10
Output
7