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

Give an overview of four different symptoms in the human body that are caused by air pollution.
Sensation consists of __________, and perception consists of __________. a. responding to changes in stimuli; adapting to a non-changing stimulus b. adapting
What organizational pattern is most commonly used when writing directions? a. spatial order b. order of importance c. chronological order d. compare and con
A universal motor uses brushes made of a. steel. b. brass. c. copper. d. carbon.
Atoms that have become negatively charged by gaining extra electrons are called _____. anions anodes cations cathodes
Solve. Q - 7 5/6 = 6 1/2
Are the following figures similar? A. Yes; the corresponding sides are proportional. B. No; the corresponding sides are not proportional. C. Yes; the correspon
The most common budgeting period is
In general, what conditions make for just a light breeze?
What is internal financing?