📅  最后修改于: 2022-03-11 14:45:41.238000             🧑  作者: Mango
>>> import sys
>>> x = 1
>>> for i in range(10):
... x = x + 1
... if x > 7:
... print x
... sys.exit()
...
8