简短示例:
while True: s = raw_input('Enter something : ') if s == 'quit': break if len(s) < 3: print 'Too small' continue print 'Input is of sufficient length.'
本文共 189 字,大约阅读时间需要 1 分钟。
简短示例:
while True: s = raw_input('Enter something : ') if s == 'quit': break if len(s) < 3: print 'Too small' continue print 'Input is of sufficient length.'
转载地址:http://eyyga.baihongyu.com/