>>> a = [1, 2, 3]
>>> 4 not in a
True
>>> not 4 in a
True
Is there any foolproof way to remember 1. when to use which and 2. which is more prone to errors?
>>> a = [1, 2, 3]
>>> 4 not in a
True
>>> not 4 in a
True
Is there any foolproof way to remember 1. when to use which and 2. which is more prone to errors?