I'm probably missing something obvious but I can't put my finger on
it:
True
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: argument of type 'bool' is not iterable
False
How/why does the last one evaluate to False ?
George
it:
>>(3 in [3]) == True
>>3 in ([3] == True)
File "<stdin>", line 1, in <module>
TypeError: argument of type 'bool' is not iterable
>>3 in [3] == True
How/why does the last one evaluate to False ?
George
Comment