maybe look at the task the other way round: you wa...
# codereview
a
maybe look at the task the other way round: you want to return an empty list if the input contains an element not of that class