CBSE Class 11 Informatics Practices
Question 53 of 66
Dictionary — Question 25
Back to all questions1
In the above code, d is a dictionary initialized with keys 'a', 'b', and 'c', each mapped to their respective values 1, 2, and 3. When print(d['a']) is executed, Python retrieves the value associated with the key 'a' from dictionary d. Therefore, the output of print(d['a']) will be 1.