Commit dce79a8e by BellCodeEditor

save project

parent ea00c78d
Showing with 9 additions and 4 deletions
with open(r"C:\Users\Administrator\Desktop\book.txt,"w"encoding='utf-8') as s:
with open(r"C:\Users\Administrator\Desktop\book.txt,"r"encoding='utf-8') as s:
sb:
sb.write('小兰:12')
sb.write('小丽:11本')
sb.write('李文:9本')
for i in date
if"小强:10"in date
print("小强:11")
if"小强:10"in date
print("小强:11")
date=date.replace("小强:10","小强:11")
new_ date += date
with open(r"C:\Users\Administrator\Desktop\book.txt,"r"encoding='utf-8') as s:
sb:
sb cloce
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