Pour le motif de boucle dans Python Stack Overflow

v = 1
lines = 4
for i in range(lines):
    for j in range(i):
        print(v, end=' ')
        v += 1
    print( )
Careful Caiman