Commit 15ad585c by BellCodeEditor

save project

parent 4957f939
Showing with 4 additions and 4 deletions
...@@ -8,9 +8,9 @@ def new_input(): ...@@ -8,9 +8,9 @@ def new_input():
try: try:
unit= int(unit) unit= int(unit)
except: except:
print(要输入整数) print("要输入整数")
else: else:
total.append(unit) total.append(unit)
return total return total
c=new_input() result=new_input()
print(c) print(result)
\ No newline at end of file \ 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