operation-precedence tag

1 questions


1 answers
61 views
0
Why is (1 in [1,0] == True) False?

I didn't know how (1 in [1,0] == True) could be parsed, so I tried it in my own way.>>> 1 in [1,0] # That's how it's supposed to be.True>>> 1 in [1,0] == True #StrangeFalse>>&g...


© 2024 OneMinuteCode. All rights reserved.