@mvaganov/

Multiplication Table

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
def multiplyLine(multiple):
	line = ""
	num = multiple
	while num <= multiple * 10:
		line += ("%4i" % num)
		num += multiple
	print(line)

multiplyLine(1)
multiplyLine(2)
multiplyLine(3)
multiplyLine(4)
multiplyLine(5)
multiplyLine(6)
multiplyLine(7)
multiplyLine(8)
multiplyLine(9)
multiplyLine(10)
multiplyLine(11)
multiplyLine(12)