← Back to Loops
Question 358
Values On One Line
Values On One Line
Three whole numbers are read into a list. Use a for loop with print(value, end=' ') so the values appear on one line separated by single spaces, then call print() once after the loop to finish the line. Input: three integers, one per line, no prompts.
Expected Output:
3 8 1= 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.