Commit 6be30565 by BellCodeEditor

save project

parent 6d5d71cf
import yuan
a=yuan.cai()
b=yuan.shu(a)
print("总分为"+str(b)+"分")
\ No newline at end of file
...@@ -17,10 +17,10 @@ def shu(money): ...@@ -17,10 +17,10 @@ def shu(money):
c=0 c=0
for i in money: for i in money:
c=c+i c=c+i
return i return c
a=cai() # a=cai()
pay=sum(a) # pay=shu(a)
print("一共"+str(pay)+"元") # #print("一共"+str(pay)+"元")
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