Commit 86c0af07 by BellCodeEditor

save project

parent 21098538
Showing with 3 additions and 1 deletions
......@@ -5,8 +5,10 @@ while True:
# 请用input()实现用户输入账号、密码的功能
password = input("密码是:")
if name == username and password == userpassword:
break
print("登陆成功!")
break
if name != username and password != userpassword:
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