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.
En esta página del sitio puede ver el video en línea Writing a code to make multiplication for any input number given in python. de Duración hora minuto segunda en buena calidad , que subió el usuario Tanmay's Corner 19 octubre 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 64 veces y le gustó 7 a los espectadores. Disfruta viendo!