Commit 7dfc43c9 by BellCodeEditor

save project

parent fe2e4b1a
Showing with 12 additions and 1 deletions
...@@ -5,6 +5,16 @@ def erfd(): ...@@ -5,6 +5,16 @@ def erfd():
if unit== 'q': if unit== 'q':
break break
else: else:
try:
unit=int(unit)
except :
print("写数字")
else:
total.append(unit) total.append(unit)
print(total) finally:
print("-"*30)
# print(total)
return total
p=erfd()
print(p)
erfd() erfd()
\ 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