Commit 05620768 by BellCodeEditor

save project

parent 7030a040
Showing with 5 additions and 1 deletions
......@@ -7,7 +7,11 @@ while True:
print("登录成功!")
break
if name != username:
input("名字错误")
input("用户名错误")
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
if password != userpassword:
input("请输入密码:")
......
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