day1/exercise/pyramid1.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Wed, 28 Oct 2009 16:01:13 +0530
changeset 229 5541c47bc2e8
parent 64 333092b68926
permissions -rw-r--r--
Added sections, subsections and time estimates for session 3 day 1.

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