Python not in ('' 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: not in python
x = 10
if not x:
print("True")
else:
print("False")
li = [1,2,'a','b']
if 'hello' not in li:
print('hello is not in the list')
x = 10
if not x:
print("True")
else:
print("False")