CBSE Class 11 Computer Science
Question 13 of 39
Tuples and Dictionary — Question 13
Back to all questionsIn Python, we assign the key-value pair using square brackets [], not parentheses ().
The corrected code is:
d1[9] = 90In Python, we assign the key-value pair using square brackets [], not parentheses ().
The corrected code is:
d1[9] = 90