Home » programming » python » Python Program to Print Table of a Given Number


  • learning code,doing coding is so interesting but sometimes we get confused to write a code,we get confused what actually the action of code is happening in a program So,don’t worry about all those things.in this website you will get code as well as its proper explanation what the code actually doing in the program,
  • so,the main motto of this site is to share knowledge to the people.

Python Program to Print Table of a Given Number

How to do?

  1. Take input number(to form table) from the user .
  2. Process to make formation of table through lopping

Source code:

n=int(input("Enter the no.to generate mul table:"))

for i in range(1,12):



  1. program ask user to input number to generate multiplication table.
  2. Program starts looping to generate table.


Leave a comment

Your email address will not be published. Required fields are marked *