Back to tasks
Difference
BeginnerPython for kids 路 Lesson 17: input() - reading a number
Problem Statement
Read two numbers a and b (on two lines) and print a - b.
Input Format
Two whole numbers a and b, each on its own line (0 <= a, b <= 1000).
Output Format
One number - the result.
Examples
Example 1
Input
10 4
Output
6
Example 2
Input
4 10
Output
-6