Commit 6cac54cc by BellCodeEditor

save project

parent 39a966cf
Showing with 5 additions and 4 deletions
total = []
def a(): def a():
total = []
while True: while True:
unit= input("请输入:") unit= input("请输入:")
...@@ -12,5 +12,6 @@ def a(): ...@@ -12,5 +12,6 @@ def a():
print("cw") print("cw")
else: else:
total.append(unit) total.append(unit)
print(total) return total
a() a=a()
\ No newline at end of file print(a)
\ 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