Commit e23449bd by BellCodeEditor

save project

parent c07659c5
Showing with 3 additions and 2 deletions
...@@ -8,4 +8,5 @@ for i in a: ...@@ -8,4 +8,5 @@ for i in a:
if '小强:10本' in i: if '小强:10本' in i:
print('小强在文件中') print('小强在文件中')
i=i.replace('小强:10本','小强:11本') i=i.replace('小强:10本','小强:11本')
new_i+=i new_i+=i
\ No newline at end of file print(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