Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a89d0c7

Browse files
added multiplication table program👩‍💻
1 parent 6510b17 commit a89d0c7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Multiplication table (from 1 to 10) in Python
2+
3+
num = 12
4+
5+
# To take input from the user
6+
# num = int(input("Display multiplication table of? "))
7+
8+
# Iterate 10 times from i = 1 to 10
9+
for i in range(1, 11):
10+
print(num, 'x', i, '=', num*i)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /