← Back to Printing
Question 97
Grades And Their Average
Grades And Their Average
Print two lines of output: the label Grades with a colon and a space followed by the declared list exactly as Python shows it, then the label Average with a colon and a space followed by the computed average shown with two decimals using :0.2f, so a whole-number average still ends in two zeros. Input: none; the values are fixed in the code.
Expected Output:
Grades: [88, 92, 75] Average: 85.00
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Printing
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.