Chemistry, asked by priyaangel64, 4 months ago

write a python program to find multiplication table of any no.input by the use ..​

Answers

Answered by LavishaHanda25
1

Answer:

Python Program to Display the multiplication Table

In Python, you can make a program to display the multiplication table of any number. The following program displays the multiplication table (from 1 to 10) according to the user input.

See this example:

num = int(input("Show the multiplication table of? "))

# using for loop to iterate multiplication 10 times

for i in range(1,11):

print(num,'x',i,'=',num*i)

The following example shows the multiplication table of 18.

output is in the attached sheet

Attachments:
Similar questions