Commit 4626a087 by BellCodeEditor

save project

parent 9db2f0e6
Showing with 8 additions and 5 deletions
username = "python" username = "python"
userpassword = "123456" userpassword = "123456"
a=input("账号:") while True:
b=input("密码:") a=input("账号:")
if a==username and b==userpassword: b=input("密码:")
print("“进入游戏”") if a==username and b==userpassword:
# 如果用户输入的账号、密码正确,提示登陆成功 print("“进入游戏”")
break
print("sb,再来一次")
print("gun!")
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