title: Apply multiple functions to multiple lists
body: <pre class="lang-py prettyprint-override"><code>a=[2,1,3]
  b=[4,2,3]
  c=[5,4,6]
  ....
  
  a=set(sorted(map(lambda x: pow(x,3), a)))
  </code></pre>
  <p>How do I apply the same sequence of functions : <code>set()</code>, <code>sorted()</code> and <code>pow()</code> to multiple lists <code>a</code>, <code>b</code> and <code>c</code>... above without repeating <code>x=set(...</code> <em>n</em> times using <code>map</code> and <code>lambda</code> (or any other more efficient code)?</p>
  <p>I know we can use a loop like my own answer <a href="https://stackoverflow.com/a/67619295/6210219">below</a>.</p>
  <p>But what if we'd like to abstract this task further, so that a given list of functions <code>[f1, f2, f3, f4]</code> can be applied to a large number of lists <code>a</code>, <code>b</code>, <code>c</code> of a similar format? (Can <code>itertools</code> be used for the task?)</p>