--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/day1/exercise/pyramid1.py Thu Oct 08 18:59:47 2009 +0530 @@ -0,0 +1,5 @@ +n = input('How many lines? ') +for i in range(1, n + 1): + for j in range(i): + print i, + print