a = 5 if a > 0 and a < 9: print("a is greater than 0 and less than 9")
a = 5 if 9 > a > 0: print("a is greater than 0 and less than 9") if 0 < a < 9: print("a is greater than 0 and less than 9")