title: Creating different digit multiplication
body: <p>I am new to Python.</p>
  
  <p>I am trying to create something like this:</p>
  
  <pre><code>    A B C
  
  x     D E
  __________
  
  F G H I J
  </code></pre>
  
  <p>So some three digit number multiplied a two digit number gives a five digit number. I can create this. However, I need it so that all the digits 0 to 9 are used once in the product and answer.</p>
  
  <p>How could I generate something like this?</p>
  
  <p>Thank you.</p>
  
  <p>Code:</p>
  
  <pre><code>from random import randint
  
  x = randint(102, 987)
  y = randint(10, 98)
  
  print(x, "*", y, "=", x*y)
  </code></pre>