codewars: Python Code Challenge #1

Publicado el: 05 abril 2021
en el canal de: GeeksDoByte
90
1

Your task is to make a function that can take any non-negative integer as an argument and return it with its digits in descending order. Essentially, rearrange the digits to create the highest possible number.

Examples:
Input: 42145 Output: 54421

Input: 145263 Output: 654321

Input: 123456789 Output: 987654321


En esta página del sitio puede ver el video en línea codewars: Python Code Challenge #1 de Duración hora minuto segunda en buena calidad , que subió el usuario GeeksDoByte 05 abril 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 90 veces y le gustó 1 a los espectadores. Disfruta viendo!