9x9 Multiplication Table

  1. Consider the following program which will print a simple 9x9 multiplication table.
    
    for i in range(1,10):
        for j in range(1,10):
                print(i, '*', j, '=', i*j)
    
    
  2. Try to re-write the program using 3 nested-loops and format the output as 3 by 3 blocks as below.
  3. Try to right-justify the products.
  4. Submit the right-justified version as your homework.