Skip to content

Instantly share code, notes, and snippets.

@matthewd
Created December 22, 2010 17:34
Show Gist options
  • Select an option

  • Save matthewd/751804 to your computer and use it in GitHub Desktop.

Select an option

Save matthewd/751804 to your computer and use it in GitHub Desktop.
i=0
j=0
10000.times do
i.upto(10000) do |x|
j+=x
end
end
puts j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment