But "condition" is just a placeholder. A concrete example would be:
msg = if (status == 0) "done" else "error"Take away the parens (which python is pretty explicit such structure should not be required to be legible).
msg = if status == 0 "done" else "error"
From a compiler perspective that's a bear to parse.
Variable x should be assigned if condition a true, otherwise b.