title: How to hide something that you have already printed in Python
body: <p>I am currently making a memory game where I print a few words and after a given time the words are shuffled and then one word is removed and replaced with a new one. Then I would get the user to answer which word has been removed and which word has then replaced that word. For instance, it will print:</p>
  <pre><code>CAT DOG MOUSE HORSE
  </code></pre>
  <p>And after 10 seconds, I would like those words to be hidden, be shuffled and replace one word with a new word so that it prints, for example:</p>
  <pre><code>DOG HORSE RABBIT CAT
  </code></pre>
  <p>I understand that I can use <code>time.sleep()</code> for the program to suspend the execution of any other code.</p>
  <p>Would it be easier to essentially <strong>&quot;unprint&quot;</strong> the first set of words and then print the new one OR <strong>replace</strong> the first printed set of words with the new one.</p>