Commit d9d1db46 by BellCodeEditor

auto save

parent 73d83e18
Showing with 5 additions and 2 deletions
...@@ -4,9 +4,12 @@ def r(): ...@@ -4,9 +4,12 @@ def r():
name=e1.get() name=e1.get()
mm1=e2.get() mm1=e2.get()
mm2=e3.get() mm2=e3.get()
if mm1==mm2: if mm1==""or mm2=="" or name=="":
print("请输入完整")
elif mm1==mm2:
print("已提交,名字为"+name) print("已提交,名字为"+name)
else:
elif mm1!=mm2:
print("密码不一,重新设置") print("密码不一,重新设置")
# 建立窗口对象 # 建立窗口对象
......
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