Question: For the below list of grades, write a python code that removes (using the remove method) all grades that are less than 10 from
For the below list of grades, write a python code that removes (using the remove method) all grades that are less than 10 from the list. You should print the updated list and the number of grades that have been removed. alist=[10,0,12,15,4,16,9,12,7,16,13] Expected Output: The final list with grades >=10 is: [10, 12, 15, 16, 12, 16, 13] 4 grades have been omitted from the list.
Step by Step Solution
3.53 Rating (156 Votes )
There are 3 Steps involved in it
Python code to remove all grades that are less than 10 from a list of grade... View full answer
Get step-by-step solutions from verified subject matter experts
