Commit f5142492 by BellCodeEditor

save project

parent 441a67c3
Showing with 8 additions and 2 deletions
with open(r'C:\Users\Administrator\Desktop ueswd.txt','r', encoding='utf-8')as file: with open(r'C:\Users\Administrator\Desktop ueswd.txt','r', encoding='utf-8')as file:
a=ueswd.readlines() a=ueswd.readlines()
j=[]
for i in a: for i in a:
x=i.split() x=i.split()
print(x[1:]) sum=0
\ No newline at end of file for sales in data[1:]
y=sum+int(sum)+'\n'
j.append(y)
with open(r'C:\Users\Administrator\Desktop ueswd.txt','a', encoding='utf-8')as file:
file.writelines(j)
\ 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