Commit c1511155 by BellCodeEditor

save project

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