Skip to content

Instantly share code, notes, and snippets.

@amritghimire
Created December 19, 2018 10:42
Show Gist options
  • Save amritghimire/8fb62dc7b697e442e3e582668348cdde to your computer and use it in GitHub Desktop.
Save amritghimire/8fb62dc7b697e442e3e582668348cdde to your computer and use it in GitHub Desktop.
Solution to Question 3 of i-CES Coding Competition
f = lambda n:sorted(str(n))
n = 99999
while not f(n*2) == f(n*3) == f(n*4) == f(n*5) == f(n*6): n += 9
print(n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment