also checck for null and for length < or == 0
for the 6th sample test, your code gets
[0, 0] should equal []
because you're not returning an empty list
I can return all except [0, 0]. It specifies it wants an empty list but doesnt accept that in any form in Python.
I read the questions as "The lowest two even numbers" and not "positives". so my program was twice as long eliminating all odd numbers for a while. silly me.
Loading collection data...
also checck for null and for length < or == 0
for the 6th sample test, your code gets
[0, 0] should equal []
because you're not returning an empty list
I can return all except [0, 0]. It specifies it wants an empty list but doesnt accept that in any form in Python.
I read the questions as "The lowest two even numbers" and not "positives". so my program was twice as long eliminating all odd numbers for a while. silly me.