there is a function I want to define that takes all items in a list and adds them up together:
def sum():
for x in range(len(user)):
sum = 0
sum =+ user[x]
return sum
user = [1,1,1]
score = sum()
print(score)
for some reason it prints just 1, and my wanted output is 3.