Commit 6dfb3c83 by BellCodeEditor

save project

parent dae71fa1
Showing with 7 additions and 2 deletions
......@@ -6,4 +6,10 @@ for i in neirong:
xingming=list[0]
yimaikuan=list[1:]
print(xingming)
print(yimaikuan)
\ No newline at end of file
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