I have a difficulty in printing a 2-D list into a nice table format.
This is the expected output:
[Click to see the expected output](https://i.stack.imgur.com/w9V8O.png)
This is the code I am using:
[Click to see my code](https://i.stack.imgur.com/UC9Fh.png)
The output I get is however not nicely presented, the spacing between each row element is not consistent:
[Click to see my output](https://i.stack.imgur.com/cXFoN.png)

Please help me with this issue. Thank you very much!