so you get the exact same answer?
in js, Boolean('' && 0) will give you the same answer as bool('' and 0) in python.
if i code golf in python (like the article does in js), i'll also get weird-looking code and "unexpected" outputs.
valid python: 0*"string"or"other_string"