Commit a0b1b206 by BellCodeEditor

save project

parent 02539816
Showing with 4 additions and 2 deletions
...@@ -7,8 +7,10 @@ while True: ...@@ -7,8 +7,10 @@ while True:
if uname==username and userpassword==userpassword: if uname==username and userpassword==userpassword:
print("登陆成功") print("登陆成功")
break break
else: if uname!=username:
print("登陆失败") print("用户名错误")
if userpassword!=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