result = "Even" if n % 2 == 0 else "Odd" # nested res = "Positive" if n > 0 else "Negative" if n < 0 else "Zero" # Tuple res = ("Odd", "Even")[n % 2 == 0] # Dictionary res = {True: "Even", False: "Odd"}[n % 2 == 0] # Lambda res_max = (lambda x, y: x if x > y else y)(a, b)