title: Writing a list of tuples to a text file in Python
body: <p>I have a list of tuples in the format:</p>
  
  <pre><code>("some string", "string symbol", some number)
  </code></pre>
  
  <p>For example, <code>("Apples", "=", 10)</code>. I need to write them into the output file, like this:</p>
  
  <pre><code>Apples = 10
  </code></pre>
  
  <p>I'm having trouble with the write method. How can it be done?</p>