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.
Auf dieser Seite können Sie das Online-Video Writing a code to make multiplication for any input number given in python. mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Tanmay's Corner 19 Oktober 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 64 Mal angesehen und es wurde von 7 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!