The real trick behind the and-or trick, then, is to make sure that the value of a is never false
a = ""
b = "second"
(1 and [a] or [b])[0]