Answers for "write a program that will output the multiplication table. in python"

2

how to use python to print multiplication table

num = int(input('Which table you need write it here:'))

starting_range = int(input('write the number from where to start:'))
ending_range = int(input('write the end of the number you need:'))
print()
print('So This is the table of', num)
for i in range(starting_range, ending_range + 1):
   print(num, 'x', i, '=', num*i)
Posted by: Guest on August-12-2021
-1

print multiplication table python

# Multiplication table (from 1 to 10) in Python

num = 12

# To take input from the user
# num = int(input("Display multiplication table of? "))

# Iterate 10 times from i = 1 to 10 By AyushG
for i in range(1, 11):
   print(num, 'x', i, '=', num*i)
Posted by: Guest on June-19-2020
0

multiplication table in python

num = int(input("Enter the number: "))

print("****Multiplication table of the number****",)

for i  in range(1,11):
    
    print(str(num) + " X " + str(i) + " = " + str(i*num))
Posted by: Guest on January-11-2022

Code answers related to "write a program that will output the multiplication table. in python"

Python Answers by Framework

Browse Popular Code Answers by Language