Commit e6464007 by BellCodeEditor

save project

parent 2499fafa
Showing with 16 additions and 9 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
username = "python"
i=3 # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
while True:
name=input("你的账号是神马")
dgfy=input("你的密码是神马")
if username==name and userpassword==dgfy:
print("进入")
break
elif username != name:
print("zhanghao错,重输")
if i>0:
i-=1
name=input("你的账号是神马")
dgfy=input("你的密码是神马")
if username==name and userpassword==dgfy:
print("进入")
break
elif username != name:
print("zhanghao错,重输")
else:
print("mima错,重输")
else:
print("mima错,重输")
print(guigui)
exit()
print("傻逼")
# 请用input()实现用
\ 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