How is the input going to happen , This works just fine on jupyter but doesnt seem to work here . Am I missing something?

Simple Input Problem

Hey,
The inputs would come in next lines like this
2
5
7
88
-100

Make an infinite while loop and keep on taking input everytime and check the cumulative sum if at any time sum becomes negative print all the number till this point.

Thanks :slight_smile:

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.