Commit 6dfb3c83 by BellCodeEditor

save project

parent dae71fa1
Showing with 6 additions and 0 deletions
......@@ -7,3 +7,9 @@ for i in neirong:
yimaikuan=list[1:]
print(xingming)
print(yimaikuan)
sum=0
for j in yimaikuan:
sum=sum+int(j)
print(xingming+":"+str(sum))
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