Question: Sorting and Filtering Exercise 2 In this exercise, you will continue practicing sorting and filtering with a new list of numbers. Sort in Descending Order:
Sorting and Filtering Exercise
In this exercise, you will continue practicing sorting and filtering with a new list of numbers.
Sort in Descending Order:
Create a list called ages with the following values: Sort this list in descending order and store the result in a variable called sortedages.
Filter Ages Below :
Using the sortedages list, filter out all the ages that are below and store them in a new list called agesbelow
Filter Ages Between and :
Using the sortedages list, filter out all the ages that are between and inclusive and store them in a new list called agesto
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
