I searched the first page of Google but couldn't find an answer. This won't happen for int(raw_input()) weirdly enough. But if i type:
a = [raw_input() for i in range(int(raw_input()))]
print(a)
Example input: 5 1 2 3 4 5
The output will be: ['1\n', '2\n', '3\n', '4\n', '5\n']
I know this has something to do with the IDE (I run VSCode) but I have no clue how to fix it. Thank you.