why my code not taking input
How to take input in a list
Hello, you need to take the input again and again as an integer using an infinite while loop and break that when the sum becomes negative.
This will surely work pls try this out. Incase some difficulty is there you can ask me I will surely help you out.
Thanks 
Happy Coding !!