Commit 62e1a437 by BellCodeEditor

save project

parent 1efeefcd
Showing with 5 additions and 0 deletions
...@@ -6,6 +6,11 @@ while True: ...@@ -6,6 +6,11 @@ while True:
if a_1==username and a_2==userpassword: if a_1==username and a_2==userpassword:
print("登入成功") print("登入成功")
break break
if a_1!=username :
print("账号错误")
if a_2!=userpassword:
print("密码错误")
print("输入错误,请重新输入。") print("输入错误,请重新输入。")
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