⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testforwithcomment.py

📁 Python Development Environment (Python IDE plugin for Eclipse). Features editor, code completion, re
💻 PY
字号:
li = ['a', 'b', 'e']
# before
for s in li:
    print s

x = (1, 2, 3)
# before
for y in x: # on-line for
    print "foo" # on-line foo
    # after first for-body - disappears
else: # on-line else
    print "bar" # this will be printer at last
# after else body

for (y) in (x): # on-line for
    for a in x:
        print "foo" # on-line foo
        # after 1. body - disappears currently
    else: # on-line else
        print "bar" # print "bar"
    
else:
    print "bla"

# after else body (last line)

⌨️ 快捷键说明

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