8 lines
98 B
Python
8 lines
98 B
Python
somme = 0
|
|
total = 0
|
|
while somme != -1:
|
|
total = total + somme
|
|
somme = int(input())
|
|
|
|
print(total)
|