GG man, you know how to program in C, but isn't better python?:
line=0
for i in range(0,4):
if line == 0:
print("1")
elseif line == 1:
print("22")
elseif line == 2:
print("333")
elseif line == 3:
print("444")
elseif line == 4:
print("5555")
else:
none
line += 1