day1/exercise/pyramid1.py
author Shantanu <shantanu@fossee.in>
Wed, 04 Nov 2009 09:40:28 +0530
changeset 263 8a4a1e5aec85
parent 64 333092b68926
permissions -rw-r--r--
Changes made for Goa workshop .

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