• bug in remove all before

 

I would like to give some feedback about ...

I can be wrong but in this ex. big fail is in this string "assert list(removeallbefore([1, 1, 2, 2, 3, 3], 2)) == [2, 2, 3, 3]"

The right answer is [1, 2, 2, 3, 3], cuz border is 2 but not 3, so we delete all before items[1] but not items[2]

Please feedback if it isn't wrong and explain to me why please.

From: https://py.checkio.org/mission/remove-all-before/solve/