title: What placeholder is used for list in python?
body: <p>Is there a format placeholder for a list in Python, e.g., in the same way that "<code>%s</code>" is a format placeholder for a string, and "<code>%d</code>" is a placeholder for an integer?</p>
  
  <p>I have a list:</p>
  
  <pre><code>result_list = [{"a": "EC2", "b": 300}, {"a": "VPC", "b": 102}, {"a": "S3", "b": 140}]
  </code></pre>
  
  <p>and want to put the contents of the list into a string. If <code>results_list</code> were itself a string I could use:</p>
  
  <pre><code>my_str = "input_list = %s"
  print(my_str % (result_list))
  </code></pre>
  
  <p>but how would I do this given that <code>result_list</code> is a list?</p>