Commit c8cb698c by BellCodeEditor

save project

parent b872ef31
Showing with 8 additions and 2 deletions
......@@ -2,4 +2,11 @@ with open(r'c:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',enco
a=file.readlines()
for i in a:
date=i.split()
print(date[1:])
\ No newline at end of file
print(date[1:])
sum=0
for i in date[1:]:
g=sum+int(date)
print(data[0]+str(g))
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