Как все добавить в список Python
num = [1,2,3,4]
print(num.sum())
#We use the .sum() function for the adding of everything
Animatnetic
num = [1,2,3,4]
print(num.sum())
#We use the .sum() function for the adding of everything
>>> list = [1, 2, 3]
>>> sum(list)
6