day1/exercise/pyramid1.py
author Puneeth Chaganti <punchagan@fossee.in>
Thu, 05 Nov 2009 23:50:35 +0530
changeset 283 5d7ca20e955f
parent 64 333092b68926
permissions -rw-r--r--
Added functions to session6.

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