← Back to Lists
Question 136
Regrade And Recompute
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
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.