Skip to content

Instantly share code, notes, and snippets.

@kunishi
Created April 27, 2022 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunishi/e2fff15f3aa02e6c11e24347f7325e9a to your computer and use it in GitHub Desktop.
Save kunishi/e2fff15f3aa02e6c11e24347f7325e9a to your computer and use it in GitHub Desktop.
i = 0; s = 0
while s < 1000:
i += 1
s += i ** 3
print(i, s)
print(i - 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment