title: Multiplication table with nested loop and user input, include # symbol after even numbers
body: <p>Trying to learn python..
  I'm trying to build a multiplication table that Prompts the user for the size of multiplication table, with a validation loop if number is less than 2 or greater than 10 as invalid.
  I Also need a # sign after any even number in the table and odds just have a space.</p>
  
  <p><a href="https://i.stack.imgur.com/e0eJd.png" rel="nofollow noreferrer">What I am trying to achieve:</a></p>
  
  <p>I used the first code to get a similar image as above but without the # sign behind the even numbers.</p>
  
  <p>I used the second one to try and have a table that I can involve user input but I dont know how to include that if the number is &lt; 2 or >10 that its invalid. And I dont know how to include the # sign after even numbers</p>
  
  <pre><code>print("\t\t\t\tMultiplication table")`enter code here`
  print("     ", end="")
  for i in range(1,11):
      print("%6d  "%i, end="") 
  print()
  print("-----"*17)
  
  for i in range(1,11):
      print("%2d|"%i, end="")
  
      for j in range(1,11):
          print("%8d"%(i*j), end="")
      print()
  </code></pre>
  
  <h1>working toward user input table</h1>
  
  <pre><code>for row in range(0, 11):
      for col in range(0, 11):
          num = row * col
          if num &lt; 10:
              empty = "\t"
          else:
              if num &lt;= 100: 
                  empty  = "\t" 
          if col == 0:
              if row == 0:
                  print("\t", end = '')
              else:
                  print("\t", row, end='')
          elif row == 0:
              print("\t", col, end='')
          else:
              print(empty, num, end = '')
      print()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/4S8MP.png" rel="nofollow noreferrer">Result of first code</a></p>
  
  <p><a href="https://i.stack.imgur.com/7H3oT.png" rel="nofollow noreferrer">Result of second code</a></p>