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

which dispute with Britain was settled in 1846
What is another word for Acadians
Rewrite the equation in slope-intercept form, identify slope, and the y-intercept of the line. -x-10y=20
what is value of digit 4 in 1.848 meters in decimal and fraction
_______________ occurs when sensory receptor cells detect a stimulus and then convert it into a neural impulse that transmits that message to the brain. a. Acco
similarity between instinct and learned behavior
Write Standard from y=-9/5x+3 ??
The slope of a line is positive. Describe what happens to the value of x as y increases.
Which sentence contains a plural verb? a. Tommy the Clown, leader of the dancers, hopes the high-energy dance style will provide Los Angeles’ South Central you
On early Earth, what was referred to as the "primordial soup"? a. The mixture of gasses in the early Earth's atmosphere. b. The combination of organic compounds