Menu

[solved]-Write Python Program Creates Stores Multiplication Table List Called Mt Displays Elements Q39078476

Write a Python program that creates and stores a multiplicationtable in a list called MT, and then displayselements. Do NOT create additional lists.

To create a list called MT, use thefollowing:

MT = [ ]

Use three while loops (counter-controlled):

Use one while loop to add elements to the MTlist and set initial value to be 0.

Use another while loop to change elements (Do NOT set valuesmanually, except the first row and first column).

Use the other to display elements.

If possible, try with a 1D list and without using nested whileloops.

OUTPUT: - Use tab after displaying each number. *****************************************************************************

OUTPUT: – Use tab after displaying each number. ************************************************************************************************************************************************************************* Multiplication Table: 1 x 1 2 3 1 1 1 2 3 12 2 4 6 3 3 6 9 4 4 8 12 5 5 10 15 1 6 6 12 18 7 7 14 21 18 8 16 24 9 9 18 27 10 10 20 30 Hmtino 4 4 8 12 16 20 24 28 32 36 40 5 5 10 15 20 25 30 35 40 45 50 6 6 12 18 24 30 36 42 48 54 60 7 7 14 21 28 35 42 49 56 63 70 8 8 16 24 32 40 48 56 64 72 80 9 9 18 27 36 45 54 63 72 81 90 10 10 201 30 40 50 60 70 80 90 100 Show transcribed image text OUTPUT: – Use tab after displaying each number. ************************************************************************************************************************************************************************* Multiplication Table: 1 x 1 2 3 1 1 1 2 3 12 2 4 6 3 3 6 9 4 4 8 12 5 5 10 15 1 6 6 12 18 7 7 14 21 18 8 16 24 9 9 18 27 10 10 20 30 Hmtino 4 4 8 12 16 20 24 28 32 36 40 5 5 10 15 20 25 30 35 40 45 50 6 6 12 18 24 30 36 42 48 54 60 7 7 14 21 28 35 42 49 56 63 70 8 8 16 24 32 40 48 56 64 72 80 9 9 18 27 36 45 54 63 72 81 90 10 10 201 30 40 50 60 70 80 90 100

Expert Answer


Answer to Write a Python program that creates and stores a multiplication table in a list called MT, and then displays elements. D… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *