Why print unpacked list of number return a sequence of number in the same line

As Skip says print(*lst) is equivalent to doing print(1, 2, 3, 4) so all the output is on the same line, seperated by spaces.

If you want the output on separate lines you can either call print for each item separately:

for item in lst:
    print(item)

or tell print to use a newline as the seperator:

print(*lst, sep='\n')