I'm try to add some numbers to 36 in sequence. For example I have 36, then my list of number such as 10, 20, and 30. I want my program to add 36 to ten, take the sum of that, add it to 20, and so on. I'm probably making myself look like an idiot here, but I'm really trying to learn.
Here is one I tried:
x = [11, 152, 620, 805, 687, 1208, 866, 748, 421, 434, 67, 56, 120, 466, 143, 1085, 401]
b = sum(36, x)
print b
or
x = [11, 152, 620, 805, 687, 1208, 866, 748, 421, 434, 67, 56, 120, 466, 143, 1085, 401]
y = 0
for int in x:
print y + x
sum([36] + x)or, better yet,36 + sum(x).