Question about new lines and lists
So I have a question...So suppose I create a program that simply takes in my input and stores it into a list and then I output the list. Normally for my compiler (Vistual Studio), in order to output it, after typing in my input I have to press ctrl+z. So even if i typed in a sentence and pressed enter, I could still keep typing in more input on a new line until I press ctrl+z. My question is..whether I am giving the list a new line everytime I press enter?
1 2 3 4 <I press enter right after this so my next input goes onto a new line in the command prompt>
5 6 7 8 <CTRL+Z>