Skip to content

Instantly share code, notes, and snippets.

@k-kawaa
Created April 16, 2024 00:30
Show Gist options
  • Save k-kawaa/309dba1dfbd2a20e9b34dd91158f9585 to your computer and use it in GitHub Desktop.
Save k-kawaa/309dba1dfbd2a20e9b34dd91158f9585 to your computer and use it in GitHub Desktop.
Math problem with python
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