Commit 437e8e10 by BellCodeEditor

save project

parent 18708e43
Showing with 9 additions and 4 deletions
......@@ -21,6 +21,6 @@ def sum(unit):
count=count+i
return count
price=new_input()
pay=sum(price)
print("一共消费了"+str(pay)+"元")
\ No newline at end of file
#price=new_input()
#pay=sum(price)
#print("一共消费了"+str(pay)+"元")
\ No newline at end of file
import a
data=a.new_input()
score=a.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