← Back to Printing
Question 98
Words On One Line
Words On One Line
Print the three declared words on one line of output with a single space between them using three separate print calls, the first two with end= set to a space and the third left to end the line normally, then print the word Done on the next line. Input: none; the values are fixed in the code.
Expected Output:
red green blue Done
= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
Printing
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.