Commit 3bf92ccb by BellCodeEditor

save project

parent 5b61e1af
Showing with 5 additions and 2 deletions
...@@ -8,4 +8,7 @@ def xx(): ...@@ -8,4 +8,7 @@ def xx():
total.append(unit) total.append(unit)
print(total) print(total)
a=xx() a=xx()
print(a) sum=0
\ No newline at end of file for i in a:
sum=sum+1
print("消费"+str(sum)+"元""扫码还是现金")
\ 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