# sorting easy

Biggest First

The trophy shelf shows off the biggest wins on top. πŸ†

You get a list of nums. Sort it from biggest to smallest and print comma-separated. There's a magic word for backwards...

Example:

Input: nums = [12, 45, 7, 30] Output: 45,30,12,7

sorted(nums, reverse=True) sorts from biggest to smallest.

πŸ’‘ need a hint?

sort-biggest-first.pyπŸ”’ given lines are locked β€” write your code in between
loading...