Computer Science

Consider the following code and find out the error:

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

Python Tuples

1 Like

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.

Answered By

1 Like


Related Questions