Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
counter = 0
page = " "
while counter <= 20:
    #page += str(counter) + " "
    page += "%4i" % counter
    #counter = counter + 1
    counter += 2
print(page)

def multiplyLine(multiple):
    counter = 0
    page = " "
    while counter <= multiple * 10:
        #page += str(counter) + " "
        page += "%4i" % counter
        #counter = counter + 1
        counter += multiple
    print(page)
multiplyLine(7)