CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List
Python Code Walkthrough #37

Reading A Record Dict

easyDictionaries

📄 Code

Read carefully — what does this print?
1student: dict = {'name': 'Giselle', 'age': 19, 'grades': [88, 92, 75]}
2print(student['name'])
3print(student['grades'][0])
4print(len(student['grades']))
5print(student['age'] + 1)
6print(max(student['grades']))

🎯 Your Answer