Multiplication Table Program in python using for loop .

Published: 17 June 2021
on channel: Maths &coding
98
14

Multiplication Table Program in python using for loop and range function.
Source code :
Multiplication table of a given number in Python
To take input from the user
num = int(input("Display multiplication table of? "))
Iterate 10 times from i = 1 to 10
for i in range(1, 11,+1):
print(num, 'x', i, '=', num*i)

Output:: If you enter num =12
12 x 1 = 12
12 x 2 = 24
12 x 3 = 36
12 x 4 = 48
12 x 5 = 60
12 x 6 = 72
12 x 7 = 84
12 x 8 = 96
12 x 9 = 108
12 x 10 = 120


On this page of the site you can watch the video online Multiplication Table Program in python using for loop . with a duration of hours minute second in good quality, which was uploaded by the user Maths &coding 17 June 2021, share the link with friends and acquaintances, this video has already been watched 98 times on youtube and it was liked by 14 viewers. Enjoy your viewing!