The “not” operator

Using “not” before a Boolean expression inverts it:

print(not False) # Prints out True
print((not False) == (False)) # Prints out False

Trinket.io on-line Python compiler