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

(3 not in [4, 5, 6])

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