From 4b2f04a098d7c640245cd4ff0b000f5a1c744d96 Mon Sep 17 00:00:00 2001 From: virendra56432 <57018320+virendra56432@users.noreply.github.com> Date: Sat, 26 Oct 2019 02:22:50 +0530 Subject: [PATCH] Create printTable.py Python program to display multiplication table of user input number. --- printTable.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 printTable.py diff --git a/printTable.py b/printTable.py new file mode 100644 index 0000000..bd034fd --- /dev/null +++ b/printTable.py @@ -0,0 +1,6 @@ +#take user input +num = int(input("Enter a number to Display multiplication table : ")) + +#itterate for loop 10 times +for i in range(1,11): + print(num, 'x', i, '=', num*i)