@@ -0,0 +1,11 @@
1
+cum = 0
2
+list_of_ele = []
3
+while cum >= 0:
4
+a = int(input())
5
+cum+=a
6
+if cum>=0:
7
+list_of_ele.append(a)
8
+else:
9
+break
10
+for x in list_of_ele:
11
+print(x)
0 commit comments