Vidyalelo
Python · Q49

MCQs on Python Tuples: Exam

Programming · Python · question 49

Q49

What will be the output of the following Python code? >>> a=(2,3,4) >>> sum(a,3)

A.
Too many arguments for sum() method
B.
The method sum() doesn't exist for tuples
C.
12
Answer
D.
9

Answer: Option C

Solution

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