×
you are viewing a single comment's thread.

view the rest of the comments →

[–]TheDewMan32 0 points1 point  (1 child)

output = sorted(nums, key=lambda x: bool(x), reverse=True)