write a phython program to print the multiplication table of 4
Answers
Answered by
1
Answer:
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)
Explanation:
4 x 1 = 4
4 x 2 = 8
4 x 3 = 12
4 x 4 = 16
4 x 5 = 20
4 x 6 = 24
4 x 7 = 28
4 x 8 = 32
4 x 9 = 36
4 x 10 = 40
i hope it helps u!!
Similar questions