Computer Science, asked by santoshkr101982, 4 months ago

write a basic program to print the multiplication table of 10​

Answers

Answered by AVENGERS789456
2

Answer:

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)

Answered by arpita9790
2

num = int(input("Enter the number: "))

print("Multiplication Table of", num)

for i in range(1, 11):

print(num,"X",i,"=",num * i)

enter the number 10

10×1=10

10×2=20

10×3=30

10×4=40

10×5=50

10×6=60

10×7=70

10×8=80

10×9=90

10×100=100


santoshkr101982: l asked for 10 not for 9
arpita9790: ok sorry
arpita9790: deleting my answer
santoshkr101982: thanks
Similar questions