Commit 8e71bd4c by BellCodeEditor

save project

parent d1c0030b
Showing with 6 additions and 3 deletions
......@@ -8,11 +8,14 @@
#filel=write('小强:12本\n')
#filel=write('李明:15本\n')
#filel=close()
with open(r'C:\Users\CM\Desskpot\C:\Users\test.','r',encoding='utf-8')as
with open(r'C:\Users\CM\Desskpot\C:\Users\test.','r',encoding='utf-8')as filel:
jo=""
for i in range(5):
if('小强:12本\n') bata:
if('小强:12本\n') data:
print("在")
data=data.replace('小强:12本','小强:13本')
if('李明:15本\n') bata:
bata=bata.replace('李明:15本','李明:18本')
print("在")
jo=jo+bata
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment