Math, asked by agarwalpayal3080, 11 months ago

Write a python program to multiplies all the items in a list.

Answers

Answered by Anonymous
3

Step-by-step explanation:

Read input number asking for the length of the list using input() or raw_input() .

Initialize an empty list lst = [] .

Read each number using a for loop .

In the for loop append each number to the list.

Now we use a predefined function sum() to find the sum of all the elements in a list.

Print the result.

Similar questions