Oct-03-2022, 06:00 AM
Always on the lookout for an interesting challenge, it's been a while.
Would this do ?
Would this do ?
uniques = [] for x in range (1,1001): lst = list(str(x)) lst.sort() if not lst in uniques: uniques.append(lst) print(x)Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.