I have a list of lists: [word, good freq, bad freq, change_status]
list_1 = [['good',100, 20, 0.2],['bad', 10, 0, 0.0],['change', 1, 2, 2]]
I would like to delete from the list all elements which don't satisfy a condition.
So if change_status > 0.3 and bad_freq < 5 then I would like to delete that the elements corresponding to it.
So the list_1 would be modified as,
list_1 = [['good',100, 20, 0.2],['bad', 10, 0, 0.0]]
How do I selective do that?
>for the first one. But actually your comment is wrong.x < aandx < bwitha < bresults inx < a, not inx < bas you said.goodandchangenotgoodandbadfor those conditions --badsbad_freqis0and itschange_statusis0.0.