Program to print Table of N in Python

#Table of N

n=int(input('Enter N to print its table:'))

for i in range(1,11):

   print('{} x {} = {}'.format(n,i,n*i))





No comments

Post your comments

Powered by Blogger.