Commit 8eeaf37d by BellCodeEditor

auto save

parent c9bb0b4c
Showing with 2 additions and 0 deletions
...@@ -12,3 +12,4 @@ with open(r'C:\Users\Administrator\Desktop\book.txt','r',encoding='utf-8')as fil ...@@ -12,3 +12,4 @@ with open(r'C:\Users\Administrator\Desktop\book.txt','r',encoding='utf-8')as fil
if '小兰:12本' in data: if '小兰:12本' in data:
data=data.replace('小兰:12本','小兰:14本') data=data.replace('小兰:12本','小兰:14本')
new_data+=data new_data+=data
print(new_data)
\ No newline at end of file
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