day1/exercise/pyramid1.py
author Shantanu <shantanu@fossee.in>
Wed, 18 Nov 2009 22:30:43 +0530
changeset 315 141f3903d4e8
parent 64 333092b68926
permissions -rw-r--r--
Modified Matrix operation part of cheat sheet 4.

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