fork download
  1. # your code goes hereprompt = ("\nTell me something, and i will repeat it!")
  2. prompt += ("\nOr enter 'quit' to end the program. ")
  3. message = ""
  4.  
  5. while message != 'quit':
  6. message = input(prompt)
  7.  
  8. if message != 'quit':
  9. print(message)
Runtime error #stdin #stdout #stderr 0.14s 23588KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 2, in <module>
NameError: name 'prompt' is not defined