← Back to Loops
Question 372
Value And Its Double
Value And Its Double
Three whole numbers are read into a list. Use a for loop to print each value followed by its double on the same line, separated by a space (one print(value, value * 2) call per item). Input: three integers, one per line, no prompts.
Expected Output:
3 6 5 10 10 20
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Loops
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.