How do you break out of the loop when you get in this situation (I'm still a beginner so I don't know everything even though this might be a "simple" problem)?
while True:
s = input('Enter something : ')
if len(s) > 3:
print('too big')
continue
if s == 'quit':
break
print('something')
As you can see you can't break out of the loop because "quit" has more than 3 characters.