summaryrefslogtreecommitdiff
path: root/day1/exercise/pyramid1.py
blob: ba24141658293d6cbf38e89376e6316f77ef8d23 (plain)
1
2
3
4
5
n = input('How many lines? ')
for i in range(1, n + 1):
    for j in range(i):
        print i,
    print