← Back to Lists
Question 130
One Grade Per Line
One Grade Per Line
The list grades holds five marks. Read one integer from input() with no prompt, the bonus, then use a for loop to print each grade plus the bonus, one number per line, in list order. Input: one integer. The number of output lines equals the length of the list.
Expected Output:
79 93 96 70 84
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Lists
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.