Negacja boolean w Pyhton
# The negation of a boolean is the opposite of its current value
x = True
print (x) # output True
x = not x
print (x) # output # False
f1fx
# The negation of a boolean is the opposite of its current value
x = True
print (x) # output True
x = not x
print (x) # output # False
# Return opposite of boolean
bool_value = True
print (bool_value) # True
bool_value = not bool_value
print (bool_value) # False