Commit e720d673 by BellCodeEditor

save project

parent 8cd868d6
Showing with 5 additions and 2 deletions
...@@ -11,5 +11,8 @@ def new_input(): ...@@ -11,5 +11,8 @@ def new_input():
print("需要输入整数哦") print("需要输入整数哦")
else: else:
total.append(unit) total.append(unit)
print(total) return total
new_input()
p=new_input()
print(p[0])
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