From 411ef1c0457c8301260a31fe50c402501f2b9710 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 17 Apr 2021 15:20:55 +0800
Subject: [PATCH] save project

---
 diy.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/diy.py b/diy.py
index 9a15349..bc1fa53 100644
--- a/diy.py
+++ b/diy.py
@@ -9,13 +9,13 @@
 #     File.write('李明:15本\n')
 with open(r'C:\Users\丽达1号\Desktop\A.txt',"r",encoding='utf-8')as File:
     for i in File:
-        if '小强:10本' in i: 
-            print('在')
-        if '小兰:10本' in i: 
-            print('在')    
-
-
-
+        if '小强:12本' in i: 
+          i=  i.replece('小强:12本','小强:11本')
+        if '小兰:12本' in i: 
+           i= i.replece('小兰:12本','小兰:14本')
+          x_x=x_x=i
+with open(r'C:\Users\丽达1号\Desktop\A.txt',"r",encoding='utf-8')as File:
+    File    q
 
 
 
--
libgit2 0.25.0