title: Trying to format multiplication table in Python
body: <p>Okay so I'm working on an assignment for my Python class. The professor wants me to make a multiplication table using the % format specifier.</p>
  
  <pre><code>x = 0
  y = 0
  
  for y in range(1, 11):
      for z in range(1, 11):
          print("%10i" %(y*z))
  </code></pre>
  
  
  
  <p>I know the format specifier is wrong, but how can I make it look like a multiplication table using the type of formatting in my code?</p>
  
  <p>I want it to look like:</p>
  
  <pre><code>1 2 3  4  5  6  7  8  9 10
  2 4 6  8 10 12 14 16 18 20
  3 6 9 12 15 18 21 24 27 30
  . . .
  10 20 30 40 50 60 70 80 90 100
  </code></pre>
  
  <p>Thanks all.</p>