Commit 0ede55f8 by BellCodeEditor

save project

parent 067368f9
Showing with 5 additions and 2 deletions
......@@ -3,4 +3,8 @@ with open(r"c:\Users\Administrator\Desktop\sales_list.txt","r",encoding="utf-8")
for i in a:
print(i)
na=i.split()
print(na[1:])
\ No newline at end of file
# print(na[1:])
sum=0
for aaa in na[1:]:
sum=sum+aaa
print(aaa)
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