Question : how to print tables using python
Answered by : programming-hero
please subscribe my channel - https://bit.ly/2Me2CfB
t = int(input("ENTER THE NUMBER : "))
n = int(input(f"HOW MUCH TIMES DO YOU WANT TO MULTIPLY '{t}' : "))
for i in range(1, (n + 1)): b = t * i print(f"{t} x {i} = {b}")
Source : | Last Update : Sat, 17 Jul 21