Commit eb976186 by BellCodeEditor

save project

parent 5ae59dc5
Showing with 4 additions and 2 deletions
......@@ -3,9 +3,9 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正
name=input("输入用户")
password=input("输入密码")
i=3
while True
while True:
if username==name and userpassword==password
dreak
break
print("输入错误")
i-=1
elif:
......@@ -15,6 +15,8 @@ while True
else:
userpassword!=password
print("密码错误")
if i>3:
exit()
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