[ create a new paste ] login | about

Link: http://codepad.org/ERlvXdK0    [ raw code | output | fork ]

Python, pasted on May 16:
1
2
3
4
5
6
7
8
9
10
num=6
for i in range(1,num):
    for j in range(1,i+1):
        print(j)
        print('\n')
for i in range(1,num):
    for j in range(1,i+1):
        print('')
        print('\n')
        


Output:
1


1


2


1


2


3


1


2


3


4


1


2


3


4


5

















































Create a new paste based on this one


Comments: