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?
1
2fruits = ["apple", "banana", "cherry"]
3
4if "banana" in fruits:
5 print("yes")