logo CodeStepByStep logo


Language/Type: Python 2D lists

Write a piece of code that constructs a two-dimensional list of integers named table with 5 rows and 10 columns. Fill the list with a multiplication table, so that list element [i][j] contains the value i * j. Use for loops to build the list.

Bare code: Write a fragment of Python code as described, without any class or function/method heading around your code.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.