python one line if in format string code example Example: one line if statement python var = [expression1] if [condition] else [expression2]