title: Return formatted string in Python
body: <p>I have a string:</p>
  
  <pre><code>testString = """ My name is %s
  and I am %s years old
  and I live in %s"""
  </code></pre>
  
  <p>I have code that finds these three strings that I want to input into testString. How do I do that? In Java I would've done:</p>
  
  <pre><code>return String.format(testString, string1, string2, string3)
  </code></pre>
  
  <p>Is there an equivalent in Python?</p>