Commit 54040840 by BellCodeEditor

auto save

parent bf045600
Showing with 21 additions and 11 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) daxiongdi=3
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) username = "daxiongdi"
name=input("输入账号") userpassword = "haokeshandonghuanyingnin"
passworld=input("输入密码") while True:
# 请用input()实现用户输入账号、密码的功 if daxiongdi>0:
if name==username and passworld==userpassword: name=input("账号是啥大兄弟?")
print("登陆成功!") password=input("密码是啥大兄弟?")
daxiongdi-=1
if name==username and password==userpassword:
# 如果用户输入的账号、密码正确,提示登陆成功 print("这都被你发现了?")
\ No newline at end of file break
elif name!=username:
print("账号错啦大兄弟~")
else:
print("密码错啦大兄弟~")
print("搞快点!再让你试"+str(daxiongdi)+"次")
else:
print("请您圆润地回您的魔仙堡~")
exit()
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