Vidyalelo
Python · Q52

MCQs on Python Tuples: Exam

Programming · Python · question 52

Q52

What will be the output of the following Python code? >>>my_tuple = (1, 2, 3, 4) >>>my_tuple.append( (5, 6, 7) ) >>>print len(my_tuple)

A.
1
B.
2
C.
5
D.
Error
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board