Commit bb53169b by BellCodeEditor

auto save

parent c19e3c8d
Showing with 20 additions and 12 deletions
i
i=3
a = "曹哲源"
b = "czy20080901"
while True:
n = input("请输入用户名:")
s = input("请输入密码:")
if n == a and s == b:
print("登录成功")
break
if n != a:
print("用户名错误,请重新输入!")
break
if s!= b:
print("密码错误")
break
if i>0:
n = input("请输入用户名:")
s = input("请输入密码:")
i -=1
if n == a and s == b:
print("登录成功")
break
if n != a:
print("用户名错误,请重新输入!")
print("你还有"+str()+)
continue
if s!= b:
print("密码错误")
else:
print("已锁定")
exit()
print("w")
\ 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