title: How to append new data onto a new line
body: <p>My code looks like this:</p>
  
  <pre><code>def storescores():
  
     hs = open("hst.txt","a")
     hs.write(name)
     hs.close() 
  </code></pre>
  
  <p>so if I run it and enter "Ryan"
  then run it again and enter "Bob"
  the file hst.txt looks like </p>
  
  <pre><code>RyanBob 
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>Ryan
  Bob
  </code></pre>
  
  <p>How do I fix this?</p>