Choice Card History
History:
What will be the output of the following Python code? >>> a=(2,3,4) >>> sum(a,3)
Talk
History
Edit
ACCEPTED
4 years ago
renyx
Name
: What will be the output of the following Python code? >>> a=(2,3,4) >>> sum(a,3)
What will be the output of the following Python code?
a=(2,3,4) sum(a,3)
9
Worng
The method sum() doesn’t exist for tuples
Yes Tuples has the sum() function
12
Correct
Too many arguments for sum() method
Incorrect