>>list(itertool s.dropwhile(lam bda x: x<5,range(10)) )
[5, 6, 7, 8, 9]
Why doesn't this work?
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Thanks,
Raj
--
"For him who has conquered the mind, the mind is the best of friends;
but for one who has failed to do so, his very mind will be the
greatest enemy."
Rajanikanth
[5, 6, 7, 8, 9]
Why doesn't this work?
>>list(itertool s.dropwhile(lam bda x: 2<x<5,range(10) ))
Thanks,
Raj
--
"For him who has conquered the mind, the mind is the best of friends;
but for one who has failed to do so, his very mind will be the
greatest enemy."
Rajanikanth
Comment