Skip to content

Instantly share code, notes, and snippets.

@kunishi
Created April 27, 2022 05:28
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/a82ca579cb03c17dd0bfa502f129f9f0 to your computer and use it in GitHub Desktop.
Save kunishi/a82ca579cb03c17dd0bfa502f129f9f0 to your computer and use it in GitHub Desktop.
i = 0; s = 0
while s < 10:
i = i + 1
s = s + i
print(i, s)
print(i - 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment