11 lines
258 B
Python
11 lines
258 B
Python
prompt = "\nTell me something, and I will repeat it back to you:"
|
|
prompt += "\nEnter 'quit' to end the program. "
|
|
|
|
active = True
|
|
while active:
|
|
message = input(prompt)
|
|
|
|
if message == 'quit':
|
|
active = False
|
|
else:
|
|
print(message)
|