Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for Numbers Factory by PiotrStachowiak
def checkio(number):
a=1234
lista=[]
for i in range(9,1,-1):
while number%i==0:
number=number/i
lista.append(i)
if number!=1:
return 0
lista.sort()
wynik=0
for i in range(0,len(lista)):
wynik=wynik+(10**(len(lista)-i-1))*lista[i]
return wynik
#takie troche inne
Nov. 27, 2016