Skip to content

Instantly share code, notes, and snippets.

@paidi
Created October 20, 2014 10:58
Show Gist options
  • Save paidi/4cf916729443338b5d8e to your computer and use it in GitHub Desktop.
Save paidi/4cf916729443338b5d8e to your computer and use it in GitHub Desktop.
local total = 0
for i=1,1000000 do
total = total + i
end
print(total)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment