# 判断数字的正负 number = 15 if number > 0: print(f"{number} 是正数") elif number < 0: print(f"{number} 是负数") else: print("这个数字是零")