multiplication table in python

Print multiplication table in python | Python Bootcamp

Introduction

Print multiplication table in python: In this post, you will learn how to print multiplication tables in python and below is the video format of the post, check it out ????

Python program to print multiplication table ????

Before you see the source code, You need to know about them;

  1. Data types
  2. Variables

Source code

Firstly, I asked the user to enter the value, So I used the input function and the user value will be saved in the variable num.

Then, I have iterated 10 times from i = 1 to 10

So, I have entered for i in range(1,11):

Then finally I have entered the print statement.

Below is the output, Try it in any IDE ????

Print multiplication table

Also Read: Check a number is odd or even in python

Also Read: Check a number is a prime number or not

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions or brave browser to block ads. Please support us by disabling these ads blocker.Our website is made possible by displaying Ads hope you whitelist our site. We use very minimal Ads in our site

 

Scroll to Top