Commit 8ccac9d4 by BellCodeEditor

save project

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