Commit 105455a8 by BellCodeEditor

save project

parent 8c0d0674
......@@ -15,3 +15,12 @@ def new_input():
print('=====================')
return total
def sum(money):
count=0
for i in money:
count=count+i
return count
price=new_input()
pay=sum(price)
print("你一共需要支付"+str(pay)+"元和手续费1亿元")
\ No newline at end of file
import diy
data=diy.new_input()
score=diy.sum(data)
print('这位选手的总分为+str(score)+'')
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