Commit c4e523ef by BellCodeEditor

save project

parent e7744df6
Showing with 6 additions and 2 deletions
...@@ -4,4 +4,8 @@ with open(r'C:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',enc ...@@ -4,4 +4,8 @@ with open(r'C:\Users\Administrator\Documents\lesson13-1\sales_list.txt','r',enc
for i in b: for i in b:
haha=i.split() haha=i.split()
print(haha[1:]) hahaha=0
\ No newline at end of file for hahahaha in haha[1:]:
hahaha=hahaha+int(hahahaha)
hahahahaha=haha[0]+str(hahaha)
print(hahahahaha)
\ 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