testwhilesimple.py

来自「Python Development Environment (Python I」· Python 代码 · 共 10 行

PY
10
字号
# comment before
i = 0
while (i < 2): # while test comment on-line
    print "under 5"
    i += 1 # augmented assignment on-line
    # this comment disappears
else: # else on-line
    print "bigger" # print on-line

# after the second body (but actually in the module node)!

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?