← Back to Dictionaries
Question 260
Birthday Update
Birthday Update
It is Giselle's birthday. Change the age field of the student record to 22 by assigning to the key, then print the new age read back from the dict. Input: none. Output: one line, the updated age.
Expected Output:
22= 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.