From 7273ed8767373f108c7b79986db836c9f66f2220 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Wed, 2 Jun 2021 18:00:37 +0800
Subject: [PATCH] auto save

---
 diy.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/diy.py b/diy.py
index e69de29..e2ee750 100644
--- a/diy.py
+++ b/diy.py
@@ -0,0 +1,10 @@
+a=open(r'c:\Users\86152\Desktop\sales_list.txt','r',encoding='utf-8')
+b=a.readlines()
+for i in b:
+    data=i.split()
+    #print(data[0])
+    #print(data[1:])
+    sum=0
+    for j in data[1:]:
+        sum=sum+int(j)
+    print(data[0]+"的义卖款合计:"+str(sum))
--
libgit2 0.25.0