title: product of list of list of letter [[a,b],[c,d],[a,n]]
body: <p>I have list of posiple letter for each letter in a word..and I want to find all possiple words.</p>
  <p>for example the input is <code>[[l,b],[e,d],[s,t]]</code> this represent a word of 3 letter wher first letter could be l or b, second letter could be e or d and third letter is s or t. I wont the out put to be the product of these lists [les,let,bet,...and so on]. the list could be any length not only three.
  I tried</p>
  <pre><code>res = list(map(prod, zip(test_list)))
  </code></pre>
  <p>but I get</p>
  <blockquote>
  <p>[&lt;itertools.product object at 0x0000024F65AEC600&gt;, &lt;itertools.product object at 0x0000024F65AEC640&gt;, &lt;itertools.product object at 0x0000024F65AEC680&gt;, &lt;itertools.product object at 0x0000024F65AEC6C0&gt;]</p>
  </blockquote>
  <p>I tried</p>
  <pre><code>word1=list(product(letter[0],letter[1],letter[2]))
  </code></pre>
  <p>it works perfectly but I want the code to accept any length pf list</p>