Commit 481f9b53 by BellCodeEditor

save project

parent 54c96cd8
Showing with 4 additions and 4 deletions
...@@ -8,10 +8,10 @@ while True: ...@@ -8,10 +8,10 @@ while True:
if name==username and pa==userpassword: if name==username and pa==userpassword:
print("登录成功")# 如果用户输入的账号、密码正确,提示登陆成功 print("登录成功")# 如果用户输入的账号、密码正确,提示登陆成功
break break
if name !=username :
print("账号错了,请重新输入。")
if name !=userpassword:
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