Examveda

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

D. 9

Answer: Option C


This Question Belongs to Python Program >> Tuples In Python

Join The Discussion

Related Questions on Tuples in Python