day1/exercise/pyramid1.py
author Puneeth Chaganti <punchagan@fossee.in>
Tue, 12 Jan 2010 19:05:09 +0530
changeset 355 6af6441034f9
parent 64 333092b68926
permissions -rw-r--r--
Added some solutions to exercises written during REC Chennai workshop.

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