PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
'''
Multiplication Table
printout is a table of multiplication up to 10x10.
example:
1 2 3
2 4 6
3 6 9
If you are not familiar with this table, it works like a grid. first number across the top, 2nd number down the side, and the answer is where they meet in the middle.
https://lordhill.itch.io
'''
for n in range(10):
print("\n")
myList=[i+(n*i) for i in range(1,11)]
for i in myList:
if i<10:
print(" {}".format(i), end=' ')
else:
print(i, end=' ')
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run