Commit e663b522 by BellCodeEditor

save project

parent 9bc1ba3a
Showing with 11 additions and 2 deletions
......@@ -18,4 +18,13 @@ def new_input():
return(total)
new_input()
result=new_input()
print(result)
\ No newline at end of file
print(result)
def sum(qian)
c=0
for i in qian:
c=c+1
return c
price=new_input()
pay=sum(price)
print("你消费了"+str(price))
\ 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