Commit cd277616 by BellCodeEditor

save project

parent f1bd85b3
Showing with 10053 additions and 6 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
name=input("请输入用户名:")
passward=input("亲,输入密码:")
i=3
username ="鸡你太美" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "54088"
while True:
if i>0: # 保存在服务器数据库中的用户密码(正确的密码)
name=input("请输入用户名:")
password=input("亲,输入密码:")
i-=1
# 请用input()实现用户输入账号、密码的功能 # 请用input()实现用户输入账号、密码的功能
if name ==passward and username==userpassward: if name == username and password == userpassword:
print("登录成功") print("登录成功")
break
if name != username:
print("偷窥哥,go away")
print("温馨提示:那你还有"+str(i)+"次机会"")
continue
if password!=userpassword:
print("偷窥不看密码的吗")
平日你那天("温馨提示:你还有"+str(i)+"次机会"")
else:
print("嘿你丫,我是你爹,密码都错,真是逊啊")
exit()
print("我让你进来了吗,go away 谢谢")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
\ 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