CJCoding With Joseph
15free / daySign inCreate account

Subtract The Second Number

Read two whole numbers and print the first minus the second in the form Difference: <value>; the result may be negative. Input: two lines, one integer each, read with bare input() calls and no prompts, so the output is the one labelled line.

Expected Output:

Difference: 7

= newline. The output ends with a newline — print one after the last line.

Hints2 available
Topics:
User Input
📥 Auto-Input:
10\n3\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.