Why does "a == x or y or z" always evaluate to True? How can I compare "a" to all of those?
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Track title: CC P Beethoven - Piano Sonata No 2 in A
--
Chapters
00:00 Why Does &Quot;A == X Or Y Or Z&Quot; Always Evaluate To True? How Can I Compare &Quot;A&Quot; To Al
01:10 Accepted Answer Score 230
03:45 Answer 2 Score 8
05:20 Answer 3 Score 6
06:18 Answer 4 Score 3
06:59 Answer 5 Score 2
07:43 Thank you
--
Full question
https://stackoverflow.com/questions/2000...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #boolean #booleanexpression
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Track title: CC P Beethoven - Piano Sonata No 2 in A
--
Chapters
00:00 Why Does &Quot;A == X Or Y Or Z&Quot; Always Evaluate To True? How Can I Compare &Quot;A&Quot; To Al
01:10 Accepted Answer Score 230
03:45 Answer 2 Score 8
05:20 Answer 3 Score 6
06:18 Answer 4 Score 3
06:59 Answer 5 Score 2
07:43 Thank you
--
Full question
https://stackoverflow.com/questions/2000...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #boolean #booleanexpression
#avk47