CJCoding With Joseph
15free / daySign inCreate account

The Last Grade

The list grades holds five marks. Print the last one using a negative index, which counts backwards from the end of the list, so you never have to know how long the list is. No input is read; the output is one number on its own line.

Expected Output:

79

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

Hints2 available
Topics:
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.