Commit 95fb400c by BellCodeEditor

save project

parent 252dbda8
Showing with 3 additions and 2 deletions
......@@ -12,4 +12,6 @@ with open(r'C:\Users\XMBC\Desktop\2.txt',mode='r',encoding='utf-8') as f:
if '小强:12本' in a:
print('数据在文件里')
\ No newline at end of file
a.replace('小强:12本','小强:11本')
a.replace('小兰:12本','小兰:14本')
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