CJCoding With Joseph
15free / daySign inCreate account

Add Three Numbers

Ask for three whole numbers with the prompts First? , Second? and Third? (each ending in a space), convert each with int() and print their sum in the form Sum: <value>. Input: three lines, one integer each. All three prompts are part of the output and input() stays on the same line, so the prompts and the sum share one output line, as shown in Expected Output.

Expected Output:

First? Second? Third? Sum: 15

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

Hints3 available
Topics:
User Input
📥 Auto-Input:
4\n5\n6\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.