Write a program to find the sum of all the elements of a tuple by using built-in program.
Answers
Answered by
1
Answer:
sum((1,2,3,4,5))
Or
T=1,2,3,4,5
sum(t)
Or
print(sum(list(map(int,input("Enter numbers separated by space: ").split(" ")))))
Please mark this answer as brainliest
Similar questions