Writing a code to make multiplication for any input number given in python.

Published: 19 October 2023
on channel: Tanmay's Corner
64
7

Hello everyone, I am Tanmay Gupta. today I am writing a code to get the multiplication table of any number you give to the program. It is a simple and easy code written in python language. I am using replit to type the code. It is a free website to write programs in many languages as per your choice, it is online so it dont require a powerful computer system.
This is the code:
a = int(input("ENTER THE NUMBER WHOSE TABLE YOU WANT TO GET:"))
print('Table of ', a, 'is')
print(a, '*', '1', ' =', a*1)
print(a, '*', '2', ' =', a*2)
print(a, '*', '3', ' =', a*3)
print(a, '*', '4', ' =', a*4)
print(a, '*', '5', ' =', a*5)
print(a, '*', '6', ' =', a*6)
print(a, '*', '7', ' =', a*7)
print(a, '*', '8', ' =', a*8)
print(a, '*', '9', ' =', a*9)
print(a, '*', '10', '=', a*10)


The result you would get:
ENTER THE NUMBER WHOSE TABLE YOU WANT TO GET:32
Table of 32 is
32 * 1 = 32
32 * 2 = 64
32 * 3 = 96
32 * 4 = 128
32 * 5 = 160
32 * 6 = 192
32 * 7 = 224
32 * 8 = 256
32 * 9 = 288
32 * 10 = 320

My replit account : https://replit.com/@TanmayGupta3
Please tell your results in the comments.
I hope you all would like the video. Thank you all.


On this page of the site you can watch the video online Writing a code to make multiplication for any input number given in python. with a duration of hours minute second in good quality, which was uploaded by the user Tanmay's Corner 19 October 2023, share the link with friends and acquaintances, this video has already been watched 64 times on youtube and it was liked by 7 viewers. Enjoy your viewing!