Commit bd1ed697 by BellCodeEditor

save project

parent 24cc337e
import func
z=func.new_input()
c=func.sum(z)
print("总成绩是"+str(c))
\ No newline at end of file
......@@ -17,6 +17,6 @@ def new_input():
total.append(unit)
print("-"*30)
return total
z=new_input()
c=sum(z)
print("一共消费"+str(c)+"元"+"是现金还是扫码")
\ No newline at end of file
#z=new_input()
#c=sum(z)
#print("一共消费"+str(c)+"元"+"是现金还是扫码")
\ 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