EOF Error, Python.
Hi! I've just started learning python and I keep getting the eof (end of file) error when I try to solve a problem. So, there must be an endless input process and I have to make the program stop when I type "0". But there is something wrong with that and it says that «n = int(input())» string is the cause of it. It would be cool if anyone here could help with that. Here is the code I wrote: items =  while True: n = int(input()) items.append(n) if (n == 0): break print(items)