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
In questa pagina del sito puoi guardare il video online codewars: Python Code Challenge #1 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato GeeksDoByte 05 aprile 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 90 volte e gli è piaciuto 1 spettatori. Buona visione!