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

There is an algal bloom in a bay in a populated area. As the leading marine biologist in the area, what is the most important thing to do, based on scientific e
-8+9·2÷-3 math please answer quick please
The distance around a yard is 588ft. If the length of the yard is 2 more than 3 times the width, find the perimeter and width of the yard
Georgia's climate had a significant, positive impact on the development of which TWO of Georgia's industries? A. Tourism B. Agriculture OC. Fishing D. Textile-M
10/2 is it rational or irrational?
Is a Beach abiotic or biotic
12 - 3x = -6x I’m confused on how to solve for X if they are on both sides
2.524.130 ÷ 786 = 326 true ir false?
Which is one use for a hyperlink? A. to create a heading style B. to animate important text C. to create a link to a website. D. to hyphenate words.
Solve: 1 x + 2 = -x + 7 105/22/520​