Just starting out learning Python. Is the reason for not(True or False) returning False because:
"True or False" is not a Falsy. Hence, not Falsy = Truthy. Therefore, not(Truthy) = False; or
For example, "bag" > "apple" will return True because Python takes the first string to compare, which is "b" and "a" and b is greater than a; therefore, True is returned. Applying the same logic, Python will only take the first statement in (True or False), which would be True and hence, not(True) = False; or
It has something to do with the order of precedence for "not" and "or" operators, which I don't quite grasp and would really appreciate any explanations.
Thank you!