Commit c1511155 by BellCodeEditor

save project

parent 84b9cd9c
Showing with 10 additions and 21 deletions
i=3 a = "233"
username = "python" b = "123456"
userpassword = "123456"
while True: while True:
if i>0: x=input("请输入账号:")
x=input("请输入账号:") y=input("请输入密码:")
y=input("请输入密码:") if x==a and y==b:
i-=1 print("密码正确")
if x==username and y==userpassword: break
print("密码正确") print("错误!!!")
break print("233")
if x != username: \ No newline at end of file
input("用户名不存在")
continue
if y != userpassword:
input("密码错误")
else:
print("你的账户已被锁定,请等待解锁账号")
exit()
\ 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