10-30-2016, 10:11 AM
(This post was last modified: 12-02-2016, 09:10 AM by Oedipussy Rex.)
Seriously. What is its problem? So you have the loop
If all values of var[] are 1 you'd expect sum to be 11. Right?
Wrong. It's only ten. If you want include var[12] the range needs to be (2,13).
Code:
for x in range(2,12):
sum += var[x]If all values of var[] are 1 you'd expect sum to be 11. Right?
Wrong. It's only ten. If you want include var[12] the range needs to be (2,13).
Getting me free admission into gaming conventions for a decade

