prompt = "\nTell me something,and I will repeat it back to you:"
prompt += "\nEnter 'quit' to end the program."
m = ""
while m != 'quit':
m = input(prompt)
if m != 'quit':
print(m)
Tell me something,and I will repeat it back to you:
Enter 'quit' to end the program.我爱你
我爱你
Tell me something,and I will repeat it back to you:
Enter 'quit' to end the program.你是我的宝贝
你是我的宝贝
Tell me something,and I will repeat it back to you:
Enter 'quit' to end the program.