title: Using writerow with numbers
body: <p>The function i am working on, should add a new row  of strings and numbers delimited each time it is called.<br>
  I am passing a string and a list of numbers as the arguments to the function.<br>
  Currently, it only writes the argument as follows, when function called:</p>
  
  <pre><code>[1.0, 2.0, 3.0]
  </code></pre>
  
  <p>However, I want the function to write the code as delimited as given below:</p>
  
  <pre><code>1.0     2.0     3.0
  </code></pre>
  
  <p>It looks like, I didn't comprehend writerow functions very well. So my question is, how can I delimit a list of numbers that is passed to writerow?</p>
  
  <pre><code>    # writes the results to a csv file
      # each row contains a string and three numbers
      def write_to_file(file_name, n_t_argument):
          with open(file_name + '.txt', 'a', newline='') as outputfile:
              wrtr  = csv.writer(outputfile, dialect = 'excel-tab')
              text_input = [ n_t_argument ]
              wrtr.writerow(text_input)
  
      write_to_file('output', [1.0, 2.0, 3.0])
  </code></pre>