I have vs code 1.90.1 and python 3.12.4 installed. Most everything works fine. However in the following code, if nothing is input it just restarts the loop. It should print that something needs to be entered. I spent 2 hours with AI to rectify the situation. No joy. Help?
active = True
while active:
message = input("nTell me something, and I will repeat it back to you: ")
if message.lower() == 'q':
active = False
if message == ""
print("Well, you gotta enter something!")
else:
print(message)