a = []
[a.append(int(input())) for i in range(10)]
print(a)
print(sum(a)) # сумма элементов
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
a = []
[a.append(int(input())) for i in range(10)]
print(a)
print(sum(a)) # сумма элементов