Commit cc2b1c85 by BellCodeEditor

save project

parent 4e2e75aa
Showing with 11 additions and 5 deletions
username = "zzt" # zzt username = "xx探险队" # xx探险队
userpassword ="呜呜呜呜呜呜呜" # 7个呜 userpassword ="xx小镇午夜游乐园末班车" #xx小镇午夜游乐园末班车
# 请用input()实现用户输入账号、密码的功能
name=input("输入账号:") name=input("输入账号:")
password=input("输入密码:") password=input("输入密码:")
if username==name and userpassword==password: if username==name and userpassword==password:
print("登陆成功") print("登陆成功")
# 如果用户输入的账号、密码正确,提示登陆成功 if username !=name:
\ No newline at end of file print("账号错误,登陆失败")
print("此账号已被锁定,请带领探险证件来午夜游乐园售票处解锁账号。")
exit()
if userpassword != password:
exit()
else:
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