CJCoding With Joseph
15free / daySign inCreate account

Age And GPA Lines

Print two lines from the student record: first the age, then the gpa, each read from the dict by its key. Input: none. Output: the age on the first line and the gpa on the second, as Python prints the stored values.

Expected Output:

21
3.8

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

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