day1/exercise/pyramid1.py
changeset 64 333092b68926
equal deleted inserted replaced
63:f5eac04a00fe 64:333092b68926
       
     1 n = input('How many lines? ')
       
     2 for i in range(1, n + 1):
       
     3     for j in range(i):
       
     4         print i,
       
     5     print