t, f = 1, 0x, y = 88, 99a = (t and x) or y # if true, xprint aa = (f and x) or y # if false, yprint aprint ((t and [x]) or [y])[0] # if true, xprint ((f and [x]) or [y])[0] # if false, yprint (t and f) or y # fails: f is false, skippedprint ((t and [f]) or [y])[0] # works: f returned anyhow
Name (required)
email (will not be published) (required)
Website