Commit 99941e9b by BellCodeEditor

save project

parent 4e026151
Showing with 10 additions and 4 deletions
binbin=open(r"c:\Users\LX\Desktop\sales_list.txt","r",encoding='utf-8') binbin=open(r"c:\Users\LX\Desktop\sales_list.txt","r",encoding='utf-8')
jiege=binbin.readlines() jiege=binbin.readlines()
for awei in jiege: for awei in jiege:
data=awei.split() data=awei.split()
print(data[0]) #print(data[0])
print(data[1:]) #print(data[1:])
binbin.close() meiqiayi=0
\ No newline at end of file for shuhui in data:
meiqiayi=meiint(shuhui)
d=data[0]+str(meiqiayi)
binbin.close()
jinluenfawang=open(r"c:\Users\LX\Desktop\sales_list.txt","r",encoding='utf-8')
\ 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