Commit c1511155 by BellCodeEditor

save project

parent 84b9cd9c
Showing with 6 additions and 17 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("请输入密码:")
i-=1 if x==a and y==b:
if x==username and y==userpassword:
print("密码正确") print("密码正确")
break break
if x != username: print("错误!!!")
input("用户名不存在") print("233")
continue \ No newline at end of file
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