Honestly you will NEVER see code like this in real life. You would want to put parentheses to make this very explicit. Python is really into explicit instead of implicit.
Anyway, I think the line is evaluated like this (False and (not True)) or True
not True is False, False and False is False, but False and True is True so the expression becomes True
Anyway, I think the line is evaluated like this (False and (not True)) or True
not True is False, False and False is False, but False and True is True so the expression becomes True
