I cannot get my head around the NOT operator. Is there someone that could explain it to me in a simple way?
it makes true false and false true, in other words, the condition are swapped:
print not True # false print not False # true
this is useful for reversing conditions
Perfect, thank you for your help!