Commit 298a4d62 by BellCodeEditor

save project

parent ce6c64e5
Showing with 3 additions and 2 deletions
......@@ -5,4 +5,5 @@ for i in a:
sum = 0
for j in b[1:]:
sum = sum + int(j)
print(b[0] + str(sum))
\ No newline at end of file
res = b[0] + ":" + str(sum) + "元"
print(res)
\ 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