python for loop inline with if else code example Example: how to perform inline if in python expression_if_true if condition else expression_if_false