Commit e663b522 by BellCodeEditor

save project

parent 9bc1ba3a
Showing with 10 additions and 0 deletions
...@@ -19,3 +19,12 @@ def new_input(): ...@@ -19,3 +19,12 @@ def new_input():
new_input() new_input()
result=new_input() result=new_input()
print(result) 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