how to return the opposite of bool python code example Example: set boolean to opposite python go = True go = not go # go is now False