@qntm @pavel_lishin comparison operators are chained, not evaluated in series. https://docs.python.org/2/reference/expressions.html#comparisons …
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@marcusaureliusf@qntm Exactly, both "in" and "==" are comparison operators that can be chained. It's the same idea as "1 < 2 == 2" -
@blackdew@marcusaureliusf@qntm One of these days I'll have to learn Python bytecode.pic.twitter.com/Hpn5sgIcwA
End of conversation
New conversation -
-
-
@qntm Congratulations, I have no clue. Do tel us the answer...Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@qntm Okay. I got it. It's comparison chaining, and the trick is recognizing that "in" is a comparison operator.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.