not function 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: not staments python
thingie == 1
while not (thingie == 0):
//do somthing
li = [1,2,'a','b']
if 'hello' not in li:
print('hello is not in the list')
thingie == 1
while not (thingie == 0):
//do somthing