Unlocked editorial showing java answer instead of python

i unlocked the answer for challenge 2 in python course(simple input). i wanted the code in python instead its showing the code in java .

Hey @Lockhart, this is the python solution,

s = 0
n= int(input())

while(True):
    s+= n
    if s>=0:
        print(n)
    else:
        break
    n = int(input())  

Hope this cleared your doubt.
Plz mark the doubt as resolved in my doubts section. :blush: