title: How do I clear printed text?
body: <p>I'm having trouble with clearing text in python 3.8. I've looked at similar answers but they didn't help me with the problem I'm having since the solutions those answers offered did not work for me. here's the line of code:</p>
  
  <pre><code>def userInstructions(userInput):
      if userInput == "help" or userInput == "Help":
          help()
      elif userInput == "list" or userInput == "List":
          words()
      elif userInput == "tutorial" or userInput == "Tutorial":
          tutorial()
      elif userInput == "salve":
          LatinRef.salve()
  
      return input('\nEnter your responce: ')
      os.system('clear')
  </code></pre>
  
  <p>What I want this to do is every time the user inputs a response that response would be cleared and it would be blank instead of appearing like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>Type in your command or any Latin word to review or learn.
  
  Enter your responce: hello
  Type in your command or any Latin word to review or learn.
  
  Enter your response: help 
  </code></pre>
  
  <p>how can I fix this? I'm currently using python 3.8 if that helps.</p>