--

Nice one! One comment, the logic will need to flip, as the `itertools.dropwhile` drops items than keeping them. i.e. `result2 = [item for item in students if item.height >= 170]`

--

--

Thushan Ganegedara
Thushan Ganegedara

Written by Thushan Ganegedara

Google Dev Expert | ML @ Canva | Author📗| PhD👨🏾‍🎓. Youtube: bit.ly/deeplearninghero | LinkedIN: thushan.ganegedara | Medium: bit.ly/support-thushan

No responses yet