Preview:

#Q.28Write a Python program to create the multiplication table (from 1 to 10) of a number.

n = int(input("Input a number: "))
for i in range(1,11):
   print(n,'x',i,'=',n*i)
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter