Commit ae0ea2a5 by BellCodeEditor

save project

parent 1355cf9b
Showing with 5 additions and 2 deletions
...@@ -7,4 +7,7 @@ for i in b: ...@@ -7,4 +7,7 @@ for i in b:
for c in data[1:]: for c in data[1:]:
d=d+int(c) d=d+int(c)
e=data[0]+str(d) e=data[0]+str(d)
print(e) print(e)
\ No newline at end of file
with open(r'c:\Users\hp\Documents\lesson13-4\sales_list.txt','r',encoding='utf-8') as ca:
\ 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