day1/exercise/pyramid1.py
author Shantanu <shantanu@fossee.in>
Wed, 25 Nov 2009 12:11:03 +0530
changeset 327 c78cad28c2f7
parent 64 333092b68926
permissions -rw-r--r--
modifeid cheat sheets for session 3, 4 day 2.

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