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

On January 1, 1990, Emilio deposited $1650 into a savings account paying 6.2% interest, compounded monthly. If he hasn't made any additional deposits or withdra
Which of the following are solutions to the equation below? Check all that apply. 9x2 – 64 = 0
A researcher is making an argument that the population in Germany declinedin the 1950s. Which of the following is a primary source that will help herargument?​
Nucleotides, which are the building blocks of nucleic acids, consist of a phosphate group, a nitrogenous base, and a
What is the simplified expression for 6(2(y+x))?
How do I simplify this?
What was happening in the south by spring of 1865?
Match the vocabulary terms to their definitions. ​
which claim does the map most support?
Choose the best translation for the following sentence. Say it! ¡Diles! ¡Dilo! ¡Dalo! ¡Dime!