From ffa8f922ff7e9d15201a16a5b17c9b94140b7488 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 2 May 2021 15:34:50 +0800 Subject: [PATCH] save project --- diy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/diy.py b/diy.py index 6e868fb..c0bc353 100644 --- a/diy.py +++ b/diy.py @@ -10,5 +10,6 @@ a=file1.read() print(a) for date in file1: if'小丽:11本'in date: + date=date.replace('小丽:11本','小丽:10本') print('数据在文件中') file1.close() \ No newline at end of file -- libgit2 0.25.0