Python
x=0 if x < 0: print(x,"正数") elif x > 0: print(x,"负数") elif x == 0: print(x,"是零")