What am i doing wrong here?! please help!

Hey @prerit_goyal, you need to make sure that you are following the given sample input and output format. Remove the extra print statements you are using. You just need to take a list of integers as input and keep printing them till the total sum is greater than zero.

I hope this helps !
Happy Coding :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.