Commit f4679917 by BellCodeEditor

save project

parent 06850449
Showing with 4 additions and 3 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
name=input("你的账号是神马")
dgfy=input("你的密码是神马")
while True: while True:
name=input("你的账号是神马")
dgfy=input("你的密码是神马")
if username==name and userpassword==dgfy: if username==name and userpassword==dgfy:
print("进入") print("进入")
break break
if username!=name: if username != name:
print("zhanghao错,重输") print("zhanghao错,重输")
continue
if userpassword!=dgfy: if userpassword!=dgfy:
print("mima错,重输") print("mima错,重输")
print("傻逼") print("傻逼")
......
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