title: How can I get my input in a txt file, after the program runned
body: <p>How can i make a textfile from the input off the user?</p>
  <pre><code>f = open('test.txt','w')
  
      date = input(&quot;which day is it&quot;)
  
  print(&quot;&quot; + date)
  </code></pre>