Skip to content

Instantly share code, notes, and snippets.

@nyunerrr
Created May 22, 2020 12:14
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 nyunerrr/514fa5ec8d7a0b0b65a9dfa5c8351857 to your computer and use it in GitHub Desktop.
Save nyunerrr/514fa5ec8d7a0b0b65a9dfa5c8351857 to your computer and use it in GitHub Desktop.
s = 0
for i in range(1,101):
s = s + i
print(s)
#答えは5050
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment