1# Return opposite of boolean
2bool_value = True
3print (bool_value) # True
4bool_value = not bool_value
5print (bool_value) # False
1# The negation of a boolean is the opposite of its current value
2x = True
3print (x) # output True
4x = not x
5print (x) # output # False