title: Python: How can I replace multiple occurrences of a string with values in tuple
body: <p>I have a string such as:
  <code>&quot;Hello %s, how are %s, %s&quot;</code></p>
  <p>I need to replace all occurrences of <code>%s</code> with the elements of the tuple <code>(&quot;world&quot;, &quot;you&quot;, 1)</code> in order for the output to be:</p>
  <pre><code>Hello world, how are you, 1
  </code></pre>