Skip to content

Commit f255606

Browse files
Merge pull request seeditsolution#265 from Pranav29g/patch-1
creates multiplication table of any number
2 parents 229f8d6 + 4bff2f1 commit f255606

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

multiplication_table

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
num = int(input("Show the multiplication table of? "))
2+
# use for loop to iterate multiplication 10 times
3+
for i in range(1,11):
4+
print(num,'x',i,'=',num*i)

0 commit comments

Comments
 (0)