Accessing Nested Data Structures Given the following list of…
Accessing Nested Data Structures Given the following list of dictionaries where each dictionary contains a key “name” and a key “grades” (which is a list of integers), write a Python code snippet to access and print the second grade of the dictionary where “name” is “Alice”. students = [ {“name”: “Alice”, “grades”: [90, 85, 92]}, {“name”: “Bob”, “grades”: [75, 80, 78]} ]
Read Details