My loop seems to be working Ok, until I leave the input empty. I want it just to loop to "enter new word or integer" but it is going through the loop and outputting the else statement 'multiple character types' also. If anyone could advise I would be grateful.
#hard code number
number=90
#whileloop
while True:
enter_text = input("enter word or integer): ")
print()#loop if empty
#check if all alpha
if enter_text.isalpha():
print(enter_text, "is all alphabetical characters! ")
break
#check<90>90
elif enter_text.isdigit():
if int(enter_text) > number:
print(enter_text, "is a large number")
if int(enter_text) <= number:
print(enter_text,"Is smaller than expected")
break
#if conditions are not meet, multiple characters
else:
print(enter_text,'multiple character types')