on-internet
← Community

is there a magic method for logical and and or in python?

Stack Overflow ·

I thought they are __and__ and __or__ but turns out they are for bitwise comparisons not logical ones. Are there such methods for the logical comparators?

Comments

Sign in or sign up to comment and upvote.

No comments yet.