day1/exercise/pyramid1.py
author shantanu <shantanu@fossee.in>
Tue, 08 Dec 2009 13:06:14 +0530
changeset 329 0a6ab1d81491
parent 64 333092b68926
permissions -rw-r--r--
Some more changes for day 2 sessions.

n = input('How many lines? ')
for i in range(1, n + 1):
    for j in range(i):
        print i,
    print