Created
April 16, 2024 00:30
-
-
Save k-kawaa/309dba1dfbd2a20e9b34dd91158f9585 to your computer and use it in GitHub Desktop.
Math problem with python
This file contains 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
def calculation(): | |
for count in range(9999): | |
if count < 3: | |
continue | |
if count % 2 == 0: | |
continue | |
answer = count * count - count | |
if answer % 10000 == 0: | |
print(count) | |
calculation() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment