Commit d0d855f6 by BellCodeEditor

save project

parent a9afdd72
Showing with 3 additions and 2 deletions
...@@ -6,10 +6,10 @@ while True: ...@@ -6,10 +6,10 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("登陆成功,我等你好久了!") print("登陆成功,我等你好久了!")
break break
if name != username: elif name != username:
print("用户名错误,你个**") print("用户名错误,你个**")
continue continue
if password != userpassword: else:
print("密码错误,你个**") print("密码错误,你个**")
continue continue
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