title: Python how to make all number combinations
body: <p><strong>Python Python 3.10.2</strong></p>
  <p>How do I make all number combinations that I only use one of the list item in one combination?</p>
  <p><em>for example:</em></p>
  <pre><code>list = ['258', '2478', '27', '2457', '578', '26', '26', '267']
  
  22225222
  52225222
  82225222
  24225222
  27225222
  28225222
  ...
  88778667
  </code></pre>