continue.py
来自「简明python,一本很不错的书」· Python 代码 · 共 13 行
PY
13 行
#!/usr/bin/env python
# Filename: continue.py
while True:
s=raw_input('Enter something : ')
if s=='quit':
break
if len(s)<3:
continue
print 'Input is of sufficient length'
# Do other kinds of processing here...
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?