Commit 3ede4859 by BellCodeEditor

save project

parent 410a7962
Showing with 5 additions and 2 deletions
...@@ -5,5 +5,8 @@ password = input("请输入密码:") ...@@ -5,5 +5,8 @@ password = input("请输入密码:")
while True: while True:
if name == username and password == userpassword: if name == username and password == userpassword:
break break
print("请重新输入") if name != username:
print("登陆成功:") print("用户名不存在,请重新输入!")
if 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