Commit f74003b4 by BellCodeEditor

auto save

parent d25f0c3e
...@@ -17,6 +17,6 @@ def sum(money): ...@@ -17,6 +17,6 @@ def sum(money):
for i in money: for i in money:
count=count+i count=count+i
return count return count
price=new_input() #price=new_input()
pay=sum(price) #pay=sum(price)
print("你一共消费了"+str(pay)+"元") #print("你一共消费了"+str(pay)+"元")
import func
data=func.new_input()
score=func.sum(data)
print("总分是"+str(score))
\ 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