demo_ref_keyword_if_else.py:
x = 5 if x > 6: print("YES") else: print("NO")
➜ begtut>python demo_keyword_if_else.py
NO