QUESTION IMAGE
Question
question # 3
multiple choice
what is the next line?
>> grades = {100:a, 75:c, 89:b, 80:b}
>> grades75
a
2
1
c
Step1: Understand dictionary indexing
In Python, when you have a dictionary like grades = {100:'A', 75:'C', 89:'B', 80:'B'}, and you use grades[75], you are accessing the value associated with the key 75.
Step2: Identify the value
The key 75 is associated with the value 'C' in the grades dictionary.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
D. 'C'