You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
265 B
Python
11 lines
265 B
Python
5 years ago
|
''' Python program to find the
|
||
|
multiplication table (from 1 to 10)'''
|
||
|
|
||
|
num = 12
|
||
|
|
||
|
# To take input from the user
|
||
|
# num = int(input("Display multiplication table of? "))
|
||
|
|
||
|
# use for loop to iterate 10 times
|
||
|
for i in range(1, 11):
|
||
|
print(num,'x',i,'=',num*i)
|