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

What side was south Carolina on during the american revolution.
Please help!! I don’t understand how to do this:((
help please will give brainliest ​
Which graph shows a function whose inverse is also a function?
If a square has the sides of 6 cm then how far will it be from one corner of the square to the opposite corner?
PLEASE HELP!!!! WILL GIVE BRANLIEST!!
at what age did mr.crabtree begin work at a factory
5. Many people across Europe supported communism because they A. were fearful of the United States and the Soviet Union. B. were fed propaganda through televisi
Answer I know the answer I’m just making sure if I’m correct, thanks. Plug in -5 for every x.
a huge tank contains 80,000 liters of oxygen, at a pressure of 760mmHg. If the oxygen is to be replaced into cylinder of 20 liters capacity at a pressure of 304