SyntaxFix
Write A Post
Hire A Developer
Questions
I'm pretty sure in is having higher precedence than , so your statement is being interpreted as 'a', ('b' in ['b' ...]), which then evaluates to 'a', True since 'b' is in the array.
in
,
'a', ('b' in ['b' ...])
'a', True
'b'
See previous answer for how to do what you want.