Skip to content

Instantly share code, notes, and snippets.

@igorvanloo
Created July 25, 2021 08:01
Show Gist options
  • Save igorvanloo/d8ffa198d7351de6fc11903fce0b41a0 to your computer and use it in GitHub Desktop.
Save igorvanloo/d8ffa198d7351de6fc11903fce0b41a0 to your computer and use it in GitHub Desktop.
Problem 52
def compute():
x = 100
while True:
count = 1
for i in range(2, 7):
if sorted(str(x)) != sorted(str(i*x)):
break
count += 1
if count == 6:
return x
x += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment