点击运行
x = -1 if x < 0: raise Exception("Sorry, no numbers below zero")
运行结果