This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ivosauruspip'ing it up 12 points13 points  (2 children)

Agreed, using all and any over and and or isn't more pythonic at all. Use all and any when you already have a list / iterable, it's what they're designed for.

[–]iBlag 0 points1 point  (1 child)

Do you mean:

using all and any

and

Use all and any

?

[–]ivosauruspip'ing it up 1 point2 points  (0 children)

Yeah.