MakeItSimple
Toggle
Home
C language
FAQs
Programs
Python
FAQs
Programs
HTML
Programs
FAQs
CSS
Javascript
FAQs
Programs
PHP
FAQs
Programs
JQuery
FAQs
Programs
AJAX
Bootstrap 3
Website
Python Examples
10. Program to print multiplication table.
n = int(input('Enter a value')) for a in range(1,11): print(n,' x ',a,' = ',n*a)
Input :
9
Output :
9 x 1 = 9
9 x 2 = 18
9 x 3 = 27
9 x 4 = 36
9 x 5 = 45
9 x 6 = 54
9 x 7 = 63
9 x 8 = 72
9 x 9 = 81
9 x 10 = 90