Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Searching
Sorting – sort()
Sorting – sorted()
Sorting – reverse() and reversed()
Summary
16. Question 1

Instruction

Okay, let's start with Question 1!

Exercise

Write a function named clean_and_sort_desc(input_list) that accepts a list of strings and does two things:

  1. Removes any strings shorter than three characters.
  2. Sorts the remaining strings in descending order.

The function should return a copy of input_list without modifying the original.