n=10 while n<9000:*s,=str(n);sorted(set(s))==s==print(n);n+=1
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page