In my code I have to do a check, in which the element is in a list or not. Could take the test if it contained the code:
if (x in y):
(do something)
and forcing into the else block. And DONE.
But in case not be contained. I tried, of course, with the "not in" but did not work.
How would you do the programming pseudocode: check if x is not y? In pythonstyle.