multiplication by use of for and if

 a = int(input("enter the no. for which you want the table : "))

print("the multiplication table of :", a)
for count in range(1, 999):
    print(a, 'x', count, '=', a*count)

Comments

Popular posts from this blog