From 92308243650736df6bcc4f31c1779374e19abec4 Mon Sep 17 00:00:00 2001 From: Chirag2007 <72174667+Chirag2007@users.noreply.github.com> Date: Wed, 6 Oct 2021 08:30:05 +0530 Subject: [PATCH] Multiplication_Table.py --- Python/Multiplication Table.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Python/Multiplication Table.py diff --git a/Python/Multiplication Table.py b/Python/Multiplication Table.py new file mode 100644 index 00000000..f4ee1592 --- /dev/null +++ b/Python/Multiplication Table.py @@ -0,0 +1,19 @@ +# Hello Friends This is a code which shows the multiplation table of any number just run this code below, it will ask of the number you want to know the table of. +# after then it will show the multiplication table of that following number +# IF YOU WANT TO UPDATE THIS CODE FEEL FREE TO DO IT +# Thnkyou + + + + + +# 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 +for i in range(1, 11): + print(num, 'x', i, '=', num*i)