• (20) Write a program that displays the multiplication tables from 0 to 12. Start small (maybe multiplying 2 to 4) and add formatting last.

    Example output:

     x |   0 |   1 |   2 |   3 |   4 |    5 |   6 |   7 |   8 |   9 |  10 |  11 |  12 |
    -----------------------------------------------------------------------------------
     0 |   0 |   0 |   0 |   0 |   0 |    0 |   0 |   0 |   0 |   0 |   0 |   0 |   0 |
     1 |   0 |   1 |   2 |   3 |   4 |    5 |   6 |   7 |   8 |   9 |  10 |  11 |  12 |
     2 |   0 |   2 |   4 |   6 |   8 |   10 |  12 |  14 |  16 |  18 |  20 |  22 |  24 |
    ...
    12 |   0 |  12 |  24 |  36 |  48 |   60 |  72 |  84 |  96 | 108 | 120 | 132 | 144 |
    
  • Rainbow Dice (8 pts)

  • (10 pts) Copy your program lab1.6.py that converted temperatures from Fahrenheit to Celcius. Modify the program so that it only displays temperatures to two decimal places.