while True:
name = input('Enter Texture Pack Name- ')
name_length = len(name)
if len(name) <= 0:
print ('You didnt write anything, try again.')
if len(name) == 1:
print ('Thats not enough, try again.')
if len(name) >= 18:
print ('Thats to much, try again.')
if int(name_length) >= 2:
break
print (('Texture Pack- %s') % (name))
So I'm trying to make 2 limits for the names description, it being too small and it being too large. I set the break to >= 2 so anything above the 18 max limit will break. How would I tell it to break only if the length is more than 2 but less than 18?