break.py 141 B

1234567
  1. while True:
  2. s = input('Enter something : ')
  3. if s == 'quit':
  4. break
  5. print('Length of the string is', len(s))
  6. print('Done')