1lst = []
2num = int(input('How many numbers: '))
3for n in range(num):
4 numbers = int(input('Enter number '))
5 lst.append(numbers)
6print("Sum of elements in given list is :", sum(lst))
1a_list = [1, 2, 3]
2integers_to_append = 4.
3a_list. append(integers_to_append)
4print(a_list)