cahees cahees
  • 01-05-2021
  • Computers and Technology
contestada

Python - Write a program to print the multiplication table as shown in the image by using for loops.

Python Write a program to print the multiplication table as shown in the image by using for loops class=

Respuesta :

sandlee09
sandlee09 sandlee09
  • 06-05-2021

Answer:

Explanation:

The following python code creates the multiplication table for 10 rows and 10 columns. This code uses nested for loops to traverse the table and print out the product of each multiplication. The image attached shows the output of the code.

for x in range(1, 11):

       for y in range(1, 11):

           z = x * y

           print(z, end="\t")

       print()

Ver imagen sandlee09
Answer Link

Otras preguntas

Is rhombus a parallelogram?
Where should a person who wants to work as a teacher aide in a Roman Catholic school begin to look for the job? A. Bishop B. Principal C. Diocesan Office of Ed
Solve.(1 pt for work shown, 1 pt for correct answer). −525 ÷ (−125)
How much faster does sound travel in the ocean than in the rain forest
Many radioactive atoms that have large masses undergo radioactive decay by releasing a particle that is identical to a helium-4 nucleus What changes in the ori
what is the purpose of the fruit that develops on a flowering plant
What is the name of a long letter like the ones Paul wrote to the people he had converted, answering their questions and settling problems? A. covenant B. Tor
Which is true about the battle of Iwo Jima?
Pls help me answered this paper. I already answered A but I'm to lazy to answers the rest. SORRY ;-; lol
which figure would be rotated 360 degrees to create a cone with an altitude perpendicular to its base?