Commit c9d6039c by BellCodeEditor

save project

parent f49bd8f6
Showing with 8 additions and 5 deletions
with open(r'C:\Users\FYDDLL\Desktop\booktest.txt','a',encoding='utf-8')as.file fot i in a
file.write('小强:15\n') data=i.split
str=0
file.write('李明:10\n') for sales in data[1:]
sum=sum+int(sales)
reilt=data[0:]+ser(sun)
print(reilt)
\ 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