how to write an if statement in one liine code example Example: python oneline if statement var = [expression1] if [condition] else [expression2]