Using while loop you have to print the table of 10

For num = 10
i = 0
while i <10:
i =i+1
print(num ,“X”, i ,‘=’, num*i)

For any number taking as input
num = int(input("Enter a number for its table : "))
i = 0
while i <10:
i =i+1
print(num ,“X”, i ,‘=’, num*i)

3 Likes

Excellent @thaseenraza1210 , Keep it up :fire: