python学习笔记之008.py

来源:互联网 发布:化学软件初中 编辑:程序博客网 时间:2024/06/05 00:17
#!/usr/bin/env python
# coding=utf-8
# Created Time:    2017-08-08 14:06:52
# Modified Time:   2017-08-08 14:10:22


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...