Filter

Write a Python program to filter the given list of ages and create a new list that contains only those ages that are greater than 60 or less than 30. The given list of ages is age = [25, 65, 82, 41, 33]. Also mention how many elements are in the final list.
[25, 65, 82, 41, 33]
Total : 0 Discussion
Login