look at this line
https://python-forum.io/Thread-Multiple-...or-keyword
two and three are None and six is a str
so your line is equivalent to
I guess you probably you want to do
there are other possible implementations for this check
if two or three or six is True:then read
https://python-forum.io/Thread-Multiple-...or-keyword
two and three are None and six is a str
so your line is equivalent to
if None or None or ('23' is True):which is same as
if False or False or False:https://docs.python.org/3/library/stdtypes.html#truth-value-testing
I guess you probably you want to do
if two or three or six:if you want to to check that at least of them is not None (relying on Truth value of non-empty string)
there are other possible implementations for this check
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs