<filename>Assignment02/1_sum.py
sum=0
while True:
    temp=input()
    if temp=='exit':
        break
    sum+=float(temp)
print(sum)

<filename>Assignment02/1_sum.py
sum=0
while True:
    temp=input()
    if temp=='exit':
        break
    sum+=float(temp)
print(sum)
