Commit 19b7d258 by BellCodeEditor

save project

parent bebff061
Showing with 9 additions and 4 deletions
......@@ -14,6 +14,11 @@ def now_jf():
finally:
print("$"*50)
return total
rest=now_jf()
print(rest)
now_jf()
\ No newline at end of file
def sum(hjf):
count=0
for i in hjf:
count=count+i
return count
price=now_jf()
pihh=sum(price)
print("您一共消费"+str(pihh)+"元!扫码还是现金?")
\ 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