Report Bug

QusSuppose t = (1, 2, 4, 3), which of the following is incorrect? Qusमान लीजिए t = (1, 2, 4, 3), निम्न में से कौन गलत है?


A. print(t[3])
B. t[3] = 45
C. print(max(t))
D. print(len(t))


Solution
B. t[3] = 45



Explanation
Values cannot be modified in the case of tuple, that is, tuple is immutable.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad