Generation

generate functionMon, 27 Mar 2023

de un numero entero N ordenas de forma ascendente las cifras

def super_sort(n): return int(''.join(sorted([i for i in str(n)])))

Want to kickstart your project?Use the new AI Studio to create your code