Computer Science, asked by batrasehaj81, 6 months ago

Write a program to find the sum of all elements in a list , where list needs to be entered by the user​

Answers

Answered by pratyusha88
3

Answer:

chevron_right. filter_none. filter_none. # Python program to find sum of elements in list. # creating a list. list1 = [ 11 , 5 , 17 , 18 , 23 ] # using sum() function. total = sum (list1) # printing total value. print ( "Sum of all elements in given list: " , total) chevron_right. filter_none.

Similar questions