CJCoding With Joseph
15free / daySign inCreate account

Regrade And Recompute

Read one integer from input() with no prompt and store it in the element at index 2 of the list grades, replacing the 91. Then print the updated list on one line and Average: <value> on the next, where the average is sum() divided by len() shown with two decimals via :0.2f. Input: one integer.

Expected Output:

[74, 88, 50, 65, 79]
Average: 71.20

= newline. The output ends with a newline — print one after the last line.

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