Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Numbers Factory by iv22
def checkio(number):
result = []
x = 9
while x > 1:
if float(number) % float(x) == 0:
y = number / x
result.append(str(x))
number = y
x = 10
x -= 1
if len(result) > 1 and number == 1:
return int(''.join(sorted(result)))
else:
return 0
Feb. 16, 2016