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
On this page of the site you can watch the video online codewars: Python Code Challenge #1 with a duration of hours minute second in good quality, which was uploaded by the user GeeksDoByte 05 April 2021, share the link with friends and acquaintances, this video has already been watched 90 times on youtube and it was liked by 1 viewers. Enjoy your viewing!