Commit 75962ca9 by BellCodeEditor

save project

parent 47ee2a91
Showing with 4 additions and 4 deletions
......@@ -6,10 +6,11 @@ def a():
break
else:
try:
int(unit)
unit=int(unit)
except:
print("输入数字")
else :
total.append(unit)
print(total)
a()
\ No newline at end of file
return(total)
d=a()
print(d)
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