Computer Science, asked by ashreya1906, 4 months ago

add numbers in a list starting with 3.. python​

Answers

Answered by skmadhuri114
2

Answer:

how to add numbers in a list python” Code Answer

lst = []

num = int(input('How many numbers: '))

for n in range(num):

numbers = int(input('Enter number '))

lst. append(numbers)

print("Sum of elements in given list is :", sum(lst))

Explanation:

please mark me brilliantest answer and follow me on brainly and get ♥️♥️♥️♥️

Answered by islamjaha949
0

Answer:

“how to add numbers in a list python” Code Answer

lst = []

num = int(input('How many numbers: '))

for n in range(num):

numbers = int(input('Enter number '))

lst. append(numbers)

print("Sum of elements in given list is :", sum(lst))

Similar questions