Commit bd9aab96 by BellCodeEditor

save project

parent e693ffc8
Showing with 16 additions and 3 deletions
...@@ -13,5 +13,10 @@ while True: ...@@ -13,5 +13,10 @@ while True:
else: else:
total.append(unit) total.append(unit)
return total return total
resule = new_input() def sum(unit):
print(total) c=0
\ No newline at end of file for i inunit:
c=c+1
return c
resule = new_input()
print(total)
\ No newline at end of file
resut =new_input()
pay=sum(result)
print("您一共消费"+str(pay)+"元")(d)
import func
d=func.new_inpurt()
s=func.sim
\ 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