+ 1
Python: question about and/or operation
print (True or False and False) print ((True or False) and False) print (False and False or True) Output: True False True I want to now how it works and output like this The third one confuse me Thanks for readingđ
2 Answers
0
To make it easier for myself, I think everything connected by 'and' as ONE condition (except parentheses say otherwise).