Commit 77f36091 by BellCodeEditor

save project

parent 11976801
Showing with 7 additions and 2 deletions
......@@ -4,9 +4,14 @@ a=file.readlines()
for i in a:
new_i=i.split()
#姓名
print(new_i[0])
#print(new_i[0])
#义卖款
print(new_i[1:])
#print(new_i[1:])
sum=0
for salas in new_i:
sum=sum+int(salas)
wat=new_i[0]+str(salas)
print(wat)
......
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