Commit 369ab37a by BellCodeEditor

save project

parent 6ca655aa
Showing with 5 additions and 1 deletions
...@@ -7,7 +7,11 @@ while True: ...@@ -7,7 +7,11 @@ while True:
if o==username and a==userpassword: if o==username and a==userpassword:
print("登陆成功") print("登陆成功")
break break
print("重新登入") if o !=username:
print("账号错误")
continue
if a !=userpassword:
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