Commit 08954a07 by BellCodeEditor

save project

parent a578d48e
Showing with 6 additions and 2 deletions
...@@ -6,4 +6,8 @@ while True: ...@@ -6,4 +6,8 @@ while True:
if zh==username and mm==userpassword: if zh==username and mm==userpassword:
print("登录失败哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈,逗你玩的,登录成功") # 如果用户输入的账号、密码正确,提示登陆成功 print("登录失败哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈,逗你玩的,登录成功") # 如果用户输入的账号、密码正确,提示登陆成功
break break
print("输入错误请重新输入") if zh!=username:
\ No newline at end of file print("账号正确")
if mm!=userpassword:
print("密码正确")
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