From 977a02f6a024e4d6e35c620d69c771fb8dedcb0a Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 25 Sep 2022 17:45:37 +0800
Subject: [PATCH] save project

---
 Untitled-1.py    | 13 +++++++++++++
 Untitled-1.py.py | 13 +++++++++++++
 diy.py           |  0
 sales_list.txt   |  0
 4 files changed, 26 insertions(+)
 create mode 100644 Untitled-1.py
 create mode 100644 Untitled-1.py.py
 create mode 100644 diy.py
 create mode 100644 sales_list.txt

diff --git a/Untitled-1.py b/Untitled-1.py
new file mode 100644
index 0000000..1d03ea8
--- /dev/null
+++ b/Untitled-1.py
@@ -0,0 +1,13 @@
+with open(r"C:\Users\XMBC\Desktop\text.txt",'r',encoding="utf-8") as file1:
+    a=file1.readlines()
+list_name=[]
+sum=0
+for i in a:
+    data=i.split()
+    for j in data[1:]:
+        sum=sum+int(j)
+    name=data[0]+" "+str(sum)
+    list_name.append(name)
+
+with open(r"C:\Users\XMBC\Desktop\text.txt",'a',encoding="utf-8") as file1:
+    file1.writelines(list_name)
\ No newline at end of file
diff --git a/Untitled-1.py.py b/Untitled-1.py.py
new file mode 100644
index 0000000..e608080
--- /dev/null
+++ b/Untitled-1.py.py
@@ -0,0 +1,13 @@
+with open(r"C:\Users\XMBC\Desktop\text.txt",'r',encoding="utf-8") as file1:
+    a=file1.readlines()
+list_name=[]
+sum1=0
+for i in a:
+    data=i.split()
+    for j in data[1:]:
+        sum1=sum1+int(j)
+    name=data[0]+" "+str(sum1)
+    list_name.append(name)
+
+with open(r"C:\Users\XMBC\Desktop\text.txt",'a',encoding="utf-8") as file1:
+    file1.writelines(list_name)
\ No newline at end of file
diff --git a/diy.py b/diy.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/diy.py
diff --git a/sales_list.txt b/sales_list.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/sales_list.txt
--
libgit2 0.25.0