CJCoding With Joseph
15free / daySign inCreate account

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
Topics:
Lists
📥 Auto-Input:
5\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.