Advertisements
Advertisements
Question
Which of the following statement(s) would give an error during the execution of the following code?
tup = (20, 30, 40, 50, 80, 79)
print(tup) #Statement 1
print(tup[3] + 50) #Statement 2
print(max(tup)) #Statement 3
tup[4]=80 #Statement 4Options
Statement 1
Statement 2
Statement 3
Statement 4
MCQ
Advertisements
Solution
Statement 4
shaalaa.com
Is there an error in this question or solution?
