CBSE Class 11 Computer Science Question 47 of 88

Tuples and Dictionary — Question 12

Back to all questions
12
Question

Question 12(a)

Find errors and rewrite the same after correcting the following code:

d1 = {1:10, 2.5:20, 3:30, 4:40, 5:50, 6:60, 7:70}
Answer

The given code is syntactically correct and doesn't contain any errors.