Commit e07428f4 by BellCodeEditor

save project

parent f4a7c7e3
Showing with 4 additions and 6 deletions
with open(r'c:\Users\8\Documents\lesson13-4\sales_list copy.txt','r',encoding='utf-8') as filel with open(r'c:\Users\8\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as filel
data=filel.readlineslines() data=filel.readlineslines()
for i in data: for i in data:
data=i.split() data=filel.split()
for salse in data[1:]: print(i)
sum+=int(salse) \ No newline at end of file
print(data[0]+str(salse))
\ 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