Commit 0a8d1882 by BellCodeEditor

save project

parent 7b98a262
Showing with 5 additions and 4 deletions
...@@ -6,9 +6,10 @@ def jakso(): ...@@ -6,9 +6,10 @@ def jakso():
except: except:
print("请输入数字") print("请输入数字")
else: else:
if unit== 'q': if unit== -1:
break break
else: else:
total.append(unit) total.append(unit)
print(total) return total
jakso() asd=jakso()
\ No newline at end of file print(asd)
\ 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