Q.No.2 - Program to print table of any no. enter by user.

Sol.- Using for loop:

num = int(input('Enter No. Here :'))
for a in range (1,11):
    print( num, "X",a,"=",num*a)


OUTPUT: