Skip to content

Instantly share code, notes, and snippets.

@tehasdf
Created December 5, 2019 22:24
Show Gist options
  • Save tehasdf/cb19b9eeb59956fde5dc529b748f93d6 to your computer and use it in GitHub Desktop.
Save tehasdf/cb19b9eeb59956fde5dc529b748f93d6 to your computer and use it in GitHub Desktop.
ore = 15
g1 = ore / 5.
g3 = 0
g2 = 0
for _ in range(100):
g3 += g1 / 2.
g2 = g1 / 5.
g1 = g2 / 2.
print 'g3', g3
g4 = 0
for _ in range(100):
g4 += g3
g3 = g3 / 5.
print 'g4', g4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment