源代码
for i in range(-5, 5): if i > 0: print("YES") elif i == 0: print("WHATEVER") else: print("NO")
运行结果