not ^ syntax in python code example
Example 1: is not in python
li = [1,2,'a','b']
if 'hello' not in li:
print('hello is not in the list')
Example 2: and in python
#And opreator in python
a = 12
b = 56
print(a and b * 12)
li = [1,2,'a','b']
if 'hello' not in li:
print('hello is not in the list')
#And opreator in python
a = 12
b = 56
print(a and b * 12)