num = [1,2,3,4]  print(num.sum()) #We use the .sum() function for the adding of everything

Read more of this post