First, create a filtered empty list to hold the elements from the scores list. Iterate over the elements of the scores list in the second step. Add the element to the filtered list if it is more than or equal to 70. Finally, display the filtered list on the screen.
Share a personalized message with your friends.