← Back to Lists
Question 122
Fix The Last Grade
Fix The Last Grade
The final value in the list grades is wrong. Overwrite the last element, reached with index -1, with 100, then print that element on one line and the new total of the list from sum() on the next line. No input is read.
Expected Output:
100 418
= 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.