continue.py 233 B

12345678910
  1. while True:
  2. s = raw_input('Enter something : ')
  3. if s == 'quit':
  4. break
  5. if len(s) < 3:
  6. print 'Too small'
  7. continue
  8. print 'Input is of sufficient length'
  9. # Do other kinds of processing here...