3 ms·
I personally find "not in" to be a bit more readable. If I say: if not x in y: ... Do I mean: if (not x) in y: ... Or: if not
by j_baker 15y ago
I personally find "not in" to be a bit more readable. If I say:
if not x in y:
...
Do I mean:
if (not x) in y:
...
Or:
if not (x in y):
...
Same with "is not".