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

Your friend is asked to differentiate between evaporation and boiling.what questions could you ask to make him to know the difference between evaporation and bo
explain in steps how to graph this linear inequality 2x+3y > -2
Which of the following steps is not critical in the creation of Bt corn?a.Cut out a piece of DNA from a DNA molecule.b.Splice a piece of DNA into DNA from anoth
what do I do to figure out this problem:3x+8=26+x
What's the other word stubborn; inflexible
if Xx8=y is the rule,and the value of x is 4, what is the value of y
Molecular scientists can read the DNA code and compare the DNA of different organisms. This concept is used in molecular clocks to determine which of the follow
What's the word for wandering about; tending to move around, travel
Choose the more precise measurement in the pair.  A .) 6.7 mi or  B.) 6 mi
How to find the reference angle of -11pi/3 ?