# inline if is simpler than if and you use it when you only need to perform
# a simple task
a = 2
b = 330
print("A") if a > b else print("B")

# another example
x = 10
y = 20
if x > y: print("x is greater than y")