1li = [1,2,'a','b']
2if 'hello' not in li:
3 print('hello is not in the list')
1arr = ['a','b','c','d','e','f']
2
3if 'g' not in arr:
4 print('g is not in the list')
1#The (!) is the not operator in Python, (!=) means not equal to.
2if 2!=10:
3 print("2 isn't equal to 10.")
4elif 2=10:
5 print("2 is equal to 10.")
6#Prints "2 isn't equal to 10." as 2 isn't equal to 10. Is it?