CBSE Class 11 Computer Science Question 66 of 88

Tuples and Dictionary — Question 31

Back to all questions
31
Question

Question 14(h)

Consider the following code and find out the error:

T1 = (10, 20, 30, 40)
T2 = (40, 50, 60)
T1, T2, T3 = T1, T2
Answer

The code will result in an Error because the number of variables on the left side of the assignment does not match the number of values on the right side.