← Back to Dictionaries
Question 279
Sum And Best Grade
Sum And Best Grade
Print the sum of the grades in the student record, then on the next line the highest grade, using the built-ins sum and max on the list under the key grades. Input: none. Output: two lines, each a float as Python prints it.
Expected Output:
173.25 74.25
= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Dictionaries
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.