Commit 88f43125 by BellCodeEditor

save project

parent 880bd7ec
Showing with 11 additions and 11 deletions
......@@ -3,17 +3,17 @@ userpassword = "123456"
i = 1000000000000000
while True:
if = i>0
name = input("请输入用户名:")
password = input("请输入密码:")
i -= 1
if name == username and password == userpassword:
print("登录成功!您好。")
break
if name != username:
print("用户不存在!")
continue
if password != userpassword:
print("用户密码不正确!")
name = input("请输入用户名:")
password = input("请输入密码:")
i -= 1
if name == username and password == userpassword:
print("登录成功!您好。")
break
if name != username:
print("用户不存在!")
continue
if password != userpassword:
print("用户密码不正确!")
else:
print("锁定)
exit()
......
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