Write a program to print multiplication table of a given number.
Sample Input : 5
Sample output:
5
10
15
20
25
30
35
40
45
50
program to print multiplication table of a given number
num = int(input('Display multiplication table of: '))
for k in range(1,11):
print(num*k)
for i in range(1,11):
print(i*5)
num = int(input("Enter the number to use for the multiplication: "))
for n in range(1, 10):
print(num * n)
mam we have to use while loop for this multiplication program
multiply_by=int(input(“Enter the value”)
for i in range (1,11)
print(i*multiply_by)
num = 5
for i in range(1,11):
result = num * i
print(result)
num=int(input(“enter a number”))
i=1
while num>0:
num=num*i
print(num)
i+=1
break:
mam how can i break after i=10
mam i m talking about multiplication program
num = 7
for i in range(1, 13):
result = num * i
print(result)
number = int(input ("Enter the number : "))
print ("The Multiplication Table of: ", number)
for count in range(1, 11):
print (number * count)
num=int(input(" Enter the table no : "))
for i in range(1,11):
print(num*i)
i = 1
while i<=50:
if i%5==0:
print(i)
i+=1
i = 5
for i in range (1,11):
i*=5
print(i)
n = int(input("type any number to get its table: "))
for k in range(1,11):
print(n*k)
for i in range(1,11):
print(f’5*{i}={5*i}')