Переменная Python не в списке
>>> 3 not in [2, 3, 4]
False
>>> 3 not in [4, 5, 6]
True
Shy Stag
>>> 3 not in [2, 3, 4]
False
>>> 3 not in [4, 5, 6]
True