← Back to User Input
Question 156
Subtract The Second Number
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
Sign in to use hintsTopics:
User Input
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.