Skip to content

Commit ae3b10a

Browse files
Add files via upload
1 parent 0891d35 commit ae3b10a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

multitable.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
def multi_table(number):
2+
table = ""
3+
for i in range(1,11):
4+
table += f"{i} * {number} = {i*number}\n"
5+
return table
6+
n = 5
7+
print(multi_table(n))

0 commit comments

Comments
 (0)