Solution Exercise 43: python algorithm which removes negative elements from a list of numbers
Exercise 43 Write a Python algorithm as a function which takes as parameter a list of integers L and which returns the list obtained from L by removing all negative…