day1/exercise/pyramid1.py
author Shantanu <shantanu@fossee.in>
Wed, 23 Dec 2009 14:17:02 +0530
changeset 331 c1bfec797af6
parent 64 333092b68926
permissions -rw-r--r--
Added images of ode results in session 5.

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