Commit a4d7acce by BellCodeEditor

save project

parent 2c7acd2e
import func
dats=func.价格()
score=func.sum(data)
print('总得分是'+str(score))
\ No newline at end of file
def 价格(): def 价格():
total = [] total = []
while True: while True:
...@@ -20,6 +19,6 @@ def sum(money): ...@@ -20,6 +19,6 @@ def sum(money):
count=count+i count=count+i
return count return count
总价=价格() #总价=价格()
pay=sum(总价) #pay=sum(总价)
print('支付宝收款'+str(pay)+'元!') #print('支付宝收款'+str(pay)+'元!')
\ No newline at end of file \ 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