1.

Suppose a tuple T is declared as T = (10, 12, 43, 39), which of the following is incorrect? a) print(T[1]) b) T[2] = -29 c) print(max(T)) d) print(len(T))

Answer»

Answer is:

b) T[2]= -29 (as tuple is immutable)



Discussion

No Comment Found

Related InterviewSolutions