pydetect.py
来自「python web programming 部分」· Python 代码 · 共 11 行
PY
11 行
while 1:
line = raw_input("Sentence: ")
if line == "":
break
words = line.split()
for w in words:
if w == "Python":
break # Python detected!
else:
print 'Does not contain "Python"'
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?