title: How to use list (or tuple) as String Formatting value
body: <p>Assume this variable:</p>
  
  <pre><code>s=['Python', 'rocks']
  x = '%s %s' % (s[0], s[1])
  </code></pre>
  
  <p>Now I would like to substitute much longer list, and adding all list values separately, like s[0], s[1], ... s[n], does not seem right</p>
  
  <p>Quote from documentation:</p>
  
  <blockquote>
    <p>Given format % values... If format
    requires a single argument, values may
    be a single non-tuple object. [4]
    Otherwise, values must be a tuple with
    exactly the number of items specified
    by the format string, or a single
    mapping object (for example, a
    dictionary).</p>
  </blockquote>
  
  <p>I tried many combinations with tuples and lists as formatters but without success, so I thought to ask here</p>
  
  <p>I hope it's clear</p>
  
  <p>[edit]
  OK, perhaps I wasn't clear enough</p>
  
  <p>I have large text variable, like</p>
  
  <pre><code>s = ['a', 'b', ..., 'z']
  
  x = """some text block
            %s
            onother text block
            %s
            ... end so on...
            """ % (s[0], s[1], ... , s[26])
  </code></pre>
  
  <p>I would like to change <code>% (s[0], s[1], ... , s[26])</code> more compactly without entering every value by hand</p>