Commit a2020951 by BellCodeEditor

save project

parent 0195bf77
Showing with 8 additions and 1 deletions
......@@ -4,11 +4,18 @@ def register():
name = e1.get()
password1 = e2.get()
password2 = e3.get()
if password1 == password2:
if name == '':
print('用户名为空')
if password1 == '':
print('密码为空')
if password2 == '':
print('未确认密码')
elif password1 == password2:
print('银行卡用户信息为:',name,password1,password2)
else:
print('密码与确认密码不一致')
# 建立窗口对象
root = tkinter.Tk()
root.title('银行卡账户信息窃取') # 设置窗口标题
......
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