while True: s = input(‘Enter something : ‘) if s == ‘quit‘: break if len(s) < 3: print(‘Too small‘) continue print(‘Input is of sufficient length‘) # 自此处起继续进行其它任何处理
标签:gpo something log pre continue eth inpu too body
while True: s = input(‘Enter something : ‘) if s == ‘quit‘: break if len(s) < 3: print(‘Too small‘) continue print(‘Input is of sufficient length‘) # 自此处起继续进行其它任何处理
标签:gpo something log pre continue eth inpu too body
原文地址:https://www.cnblogs.com/ludongjun/p/8321895.html