This will probably be a dumb question, but why does this piece of code behave like this?
>>> test = ['aaa','bbb','ccc']
>>> if 'ddd' or 'eee' in test:
... print True
...
True
>>>
I was expecting nothing printed on the stdio, because none of the strings in the IF statement are in the list.
Am I missing something?