Computer Science, asked by hudaabidi786, 26 days ago

Write a program to find sum of all the elements of all the list elements.​

Answers

Answered by gojalchand03031975
0

Answer:

kdnridndi h and be i love rbe

Answered by suchitasingh057
2

Answer:

Approach :

  • Read input number asking for length of the list using input() or raw_input() .
  • Initialise an empty list lst = [] .
  • Read each number using a for loop .
  • In the for loop append each number to the list.
  • Now we use predefined function sum() to find the sum of all the elements in a list.
  • Print the result.
Similar questions