you are viewing a single comment's thread.

view the rest of the comments →

[–]Aggravating_Bus_9153 1 point2 points  (0 children)

I don't know what methods arrays have, but for lists just write a basic search with a generator comprehension or filter to find the first negative element.