kindly help with my code
Code is not runing
n =int(input()) sum=0 while sum>=0: s = int(input()) sum = sum+s print(sum)
s =int(input())
sum=s
while sum>=0:
print(s)
s = int(input())
sum = sum+s
I have made changes in your code. If you are unable to understand any part of it ,you can ask me by replying to this thread.