Getting EOF Error when trying to get input from user

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.

Hello @sohaibalam1993, the solution seems to be fine maybe while running you didn’t check by taking the inputs in the input section or the format for the input may be wrong. Try submitting there as well if that works or not. And in case if it won’t get submitted as correct answer pls let me know. And if it gets cleared then pls mark it as resolve and feel free to provide the feedback and the ratings.
Thank You :slight_smile:

still reflecting the same error. None of the code is running on the python practice problem section. Reflecting the same error for all the problems

Share the code and the problem link.

Pls, share your code and the link. Or if it the issue is cleared pls let me know.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

it’s working for fewer problems, but it is still showing the same error for a few other problems.

Pls, share the link and the code for atleast one problem that shows such type of error. I will talk to the team if they will be able to help you out. But for that I also need to tell them the case with atleast one problem.

that error is reflecting for every input functions I’m using.

Hello @sohaibalam1993, have you given the input ?? The error is there from too long for you. Can we schedule a google meet to resolve or for better understanding of the error. Pls, let me know.

Yeah, googlw meet will be fine. You can do that on Thursday any time after 12pm

Alright, Cool !! We will discuss the problem on google meet.

Hello @sohaibalam1993, today is Thursday 3 PM is ok for you??
Link: https://meet.google.com/ciz-ttqn-kjo