Commit 37d5d9ac by BellCodeEditor

save project

parent d603bc7c
Showing with 5 additions and 3 deletions
......@@ -6,5 +6,7 @@ while True:
if name==username and password==userpassword:
print("登陆成功")
break
if name!=username or password!=userpassword:
print("登陆失败")
\ No newline at end of file
if name!=username:
print("登陆失败,用户名错误!臭蟑螂")
if password!=userpassword:
print("登陆失败,密码错误!臭蟑螂")
\ No newline at end of file
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