Commit 61382fa2 by BellCodeEditor

save project

parent 62098a4a
Showing with 3 additions and 3 deletions
...@@ -6,9 +6,8 @@ while True: ...@@ -6,9 +6,8 @@ while True:
if x==z and y==n: if x==z and y==n:
print("登录成功") print("登录成功")
break break
if z !=x: elif z !=x:
print("用户名错误请重试") print("用户名错误请重试")
continue else:
if y !=n:
print("密码错误请重试") print("密码错误请重试")
print("欢迎来到王者") 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