Commit e6464007 by BellCodeEditor

save project

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