Commit 183e2ced by BellCodeEditor

save project

parent fc93c8ce
Showing with 21 additions and 0 deletions
i=3
a="GPB"
b="2077"
while True:
if i>0:
aa = input("用户名")
bb = input("密码")
i-=1
if a==aa and b==bb:
print("登陆成功")
break
if a != aa:
print("用户名称错误")
continue
if b != bb:
print("密码错误")
else:
print("锁定")
exit()
print("欢迎您")
\ 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