Commit 36c0f695 by BellCodeEditor

save project

parent ff764a16
Showing with 2 additions and 0 deletions
...@@ -8,3 +8,5 @@ password=input("请输入用户密码:") ...@@ -8,3 +8,5 @@ password=input("请输入用户密码:")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
if name==username and password==userpassword: if name==username and password==userpassword:
print("登陆成功") print("登陆成功")
break
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