← Back to Dictionaries
Question 262
Student Summary Card
Student Summary Card
Print a three-line summary of the student record: the line Name: <first name>, then Age: <age>, then Average: <value> where the value is the average of the grades list to two decimals, computed with sum and len. Input: none. Output: the three lines in that order, one value per line.
Expected Output:
Name: Giselle Age: 21 Average: 57.75
= newline. The output ends with a newline — print one after the last line.
Hints3 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.