Commit b2307757 by BellCodeEditor

save project

parent 7f0846a1
Showing with 4 additions and 1 deletions
...@@ -6,7 +6,7 @@ def smj(): ...@@ -6,7 +6,7 @@ def smj():
break break
else: else:
try: try:
unit=int(unir) unit=int(unit)
except: except:
print("请输入一个数字") print("请输入一个数字")
else: else:
...@@ -14,4 +14,7 @@ def smj(): ...@@ -14,4 +14,7 @@ def smj():
print("_"*30) print("_"*30)
print(total) print(total)
smj() smj()
return total
print(total)
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