I am trying to filter list of tuples with two conditions if tuple value is greater than 0.3 and there should not be more than 5 elements
tuple value is greater than 0.3
there should not be more than 5 elements