LearnPy Hub
← Recursion & Lambda problems
Easy

Sort Biggest First With a Key

Read integers and print them from largest to smallest using sorted(nums, key=lambda x: -x).

Input

Integers separated by spaces.

Output

One line.

Sample 1

Input
3 1 2
Output
3 2 1

Sample 2

Input
5
Output
5
solution.py
Output appears here
Sort Biggest First With a Key · Python practice problem · LearnPy Hub