Skip to content

Instantly share code, notes, and snippets.

@Kagee
Created November 12, 2013 14:51
Show Gist options
  • Save Kagee/7432106 to your computer and use it in GitHub Desktop.
Save Kagee/7432106 to your computer and use it in GitHub Desktop.
>>> inc
50
>>> base
1000
>>> sum = 0
>>> for i in range(0,356):
... sum = sum + (base + (inc*i))
...
>>> sum
3515500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment