Commit d9aa8501 by BellCodeEditor

save project

parent f05ce1e0
Showing with 3 additions and 1 deletions
...@@ -6,9 +6,10 @@ def cd(): ...@@ -6,9 +6,10 @@ def cd():
except: except:
print('请输入数字') print('请输入数字')
else: else:
if unit== 1: if unit== 23:
break break
else: else:
total.append(unit) total.append(unit)
return unit
cd() cd()
print(total) print(total)
\ 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