Commit 8b519e83 by BellCodeEditor

save project

parent 090e12a1
Showing with 10 additions and 0 deletions
......@@ -4,6 +4,16 @@ def new_input:
while True:
unit= input("请输入:")
unit=int(unit)
try:
unit=int(unit)
try:
pass
except expression :
print("请输整数")
unit= int(unit)
if unit== 'q':
break
else:
......
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