title: How to interpolate a list into an f-string in Python?
body: <p>Say I have a function</p>
  
  <pre><code>def foo(): return [1, 2, 3]
  </code></pre>
  
  <p>I want to interpolate the result of the function into a string to get <code>"001 002 003"</code>. I've tried this:</p>
  
  <pre><code>f"{*foo():03d 03d 03d}"
  </code></pre>
  
  <p>But it produced <code>SyntaxError: can't use starred expression here</code>. Can I do this using an f-string?</p>