Commit 1d36922a by BellCodeEditor

save project

parent e23449bd
Showing with 3 additions and 0 deletions
...@@ -10,3 +10,5 @@ for i in a: ...@@ -10,3 +10,5 @@ for i in a:
i=i.replace('小强:10本','小强:11本') i=i.replace('小强:10本','小强:11本')
new_i+=i new_i+=i
print(new_i) print(new_i)
a=open('C:\\Users\\Windows 7\\Desktop\\test.txt','w',encoding='utf-8')
a.write(new_i)
\ 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