Follow

RT @DougBlank
Friday Python Puzzler:

>>> ('1' in '1234') == True
True

>>> '1' in ('1234' == True)
Error

>>> '1' in '1234' == True
False

Can you explain why False? It took me a minute.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.