Commit d31d13ad by BellCodeEditor

save project

parent d3654800
Showing with 7 additions and 0 deletions
...@@ -12,3 +12,9 @@ while True: ...@@ -12,3 +12,9 @@ while True:
print("密码正确")# 如果用户输入的账号、密码正确,提示登陆成功 print("密码正确")# 如果用户输入的账号、密码正确,提示登陆成功
break break
print("用户名和密码错误!请重试") print("用户名和密码错误!请重试")
if a != username:
print("用户名错误!")
if b !=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