Created
April 27, 2022 05:29
-
-
Save kunishi/e2fff15f3aa02e6c11e24347f7325e9a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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