human
Check if something is not in a list
assistant
Here is some code to check if 3 is not in a list [2, 3, 4]

(3 not in [2, 3, 4])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.