Home »
Python »
Python Tuples MCQs
How do you find the total of all the elements of the tuple?
38. How do you find the total of all the elements of the tuple?
- Total() function
- Sum() function
- Aggregate() function
- Sum_total function
Answer: B) Sum() function
Explanation:
The sum() function will help you to find out the sum of all the elements in the tuple.