day1/exercise/pyramid1.py
author Puneeth Chaganti <punchagan@fossee.in>
Tue, 12 Jan 2010 19:03:34 +0530
changeset 354 5dc6c3673f9d
parent 64 333092b68926
permissions -rw-r--r--
Changes made during REC Chennai workshop.

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