Computer Science, asked by Hubbie9692, 5 months ago

T = (2,5,6,9,8) what will be value of sum (T)

Answers

Answered by Gargidas
2

Answer:

T=(2,5,6,9,8)

therefore sum of T = 2+5+6+9+8=30

Answered by duragpalsingh
0

Answer:

sum(T) = 30

Explanation:

Here, T refers to tuple, which is datatype in python, used to store mutiple values in a single variable.

The sum() function  calculates the sum of all elements in given tuple.

here, T  = (2,5,6,9,8)

Sum = 2 + 5 + 6 + 9 + 8 = 30

Therefore, sum(T) results into 30.

Learn More on Brainly.in:

Given the lists L=[1,3,6,82,5,7,11,92] , write the output of print(L[2:5])​

brainly.in/question/25870565

Suppose a tuple T is declared as T = (10, 12, 43, 39) , which of the following s incorrect? a) rint * (T[1]) b) T[2] = - 29 c) print * (max * (T)) d) print (len * (T))​

brainly.in/question/30819138

Similar questions