sum=0
while sum>=0:
i = int(input())
sum=sum+i
if sum<0:
break
print(i)
this is my code. When I tried to run this code on hacker blocks it ran and get submitted also, but when I tried to run it python practice problem section its showing this EOF error. Kindly help me out in this.

