python how to set boolean to oppisote value code example Example: set boolean to opposite python go = True go = not go # go is now False