title: Write a program that takes in a line of text as input, and outputs that line of text in reverse
body: <p>Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters &quot;Quit&quot;, &quot;quit&quot;, or &quot;q&quot; for the line of text.</p>
  <p>Ex: If the input is:</p>
  <blockquote>
  <p>Hello there</p>
  <p>Hey</p>
  <p>quit</p>
  </blockquote>
  <p>then the output is:</p>
  <blockquote>
  <p>ereht olleH</p>
  <p>yeH</p>
  </blockquote>
  <p>I tried like this but it instead of break loop continues. Anyone please tell me what I am missing</p>
  <pre><code>user_input = input()
  
  while True:
  
         values = user_input
         
         if values == 'quit' or values == 'Quit' or values == 'q':
          
              break
          
         print(values[::-1])
  </code></pre>
  <p>My output comes as</p>
  <blockquote>
  <p>ereht olleH</p>
  <p>ereht olleH</p>
  <p>ereht olleH</p>
  <p>ereht olleH</p>
  <p>ereht olleH</p>
  <p>ereht olleH</p>
  </blockquote>
  <p>...and continues</p>