How to extract every possible values of python Dict's values to list
<pre><code>DICTA={'bw':['BW','VW'],'b':['BB','VV'],'a':['AA']}
DICTB={'yn':['$YN','$YNN'],'ye':['$YE','A$Y'],'y':['Y$']}
</code></pre>

<p>How to extract every possible values of that 2 Dict to</p>

<pre><code>["BWYN","VWYN","BBYN","VVYN","AAYN","BWYNN","VWYNN","BBYNN","VVYNN","AAYNN",
"BWYE","VWYE","BBYE","VVYE","AAYE","ABWY","AVWY","ABBY","AVVY","AAAY",
"YBW","YVW","YBB","YVV","YAA"]
</code></pre>

<p>PS: Order does not matter</p>

<p>PPS: Not homework, but like to know how it can be implemented in efficient way.</p>
