From 8205f74f8ccaf4adfb2b90a1eb9c8128a7404a7d Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 24 Jun 2023 15:05:29 +0800
Subject: [PATCH] save project

---
 diy.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/diy.py b/diy.py
index b90d582..7083396 100644
--- a/diy.py
+++ b/diy.py
@@ -1,4 +1,5 @@
 # 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
-mx=open(r'C:\Users\123\Desktop\明细.txt','w',encoding='utf-8')
-mx.write('小兰:12本、小丽:11本、李文:9本、张伟:16本')
+mx=open(r'C:\Users\123\Desktop\明细.txt','r',encoding='utf-8')
 
+a=mx.read()
+print(a)
--
libgit2 0.25.0