Commit d76fe5cf by BellCodeEditor

save project

parent d5d5a827
Showing with 16 additions and 2 deletions
cc
content="你好!"+name
return content
result=hello("哈哈")
print(result)
\ No newline at end of file
...@@ -14,5 +14,12 @@ def new_input(): ...@@ -14,5 +14,12 @@ def new_input():
print("-"*30) print("-"*30)
return total return total
aa=new_input() def sum(money):
print(aa) count = 0
for i in money:
count = count + i
return count
price = new_input()
pay = sun(price)
print("您一共消费了" + str(pay) + "元!扫码还是现金呢?")
\ 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