N
Nick the Gr33k
That happens only by chance: it seems you now understand the evaluation
of "boolean" expressions in Python, so the following should be clear to
you:
yes indeed!
if we had questioned python for: "k" in (name and year and month)
that would have returned the argument month back which is "efgh" and
then the if would have evaled to false since 'k' isn't part of the latter.
"k" in (name and month and year) != "k" in (name and year and month)
As wee see, the order of the arguments in an expression matters.