Commit 6a90477f by BellCodeEditor

save project

parent b810c294
Showing with 25 additions and 0 deletions
i=3
a="pyton"
b="123"
while True:
if i>0
aa=input("账号")
bb=input("密码")
i-=1
if a ==aa and b ==bb:
print("登录成功")
break
if a !=aa:
print("账号错误")
print("温馨提示:您还有"+str+"次机会")
continue
if b !=bb:
print("密码错误")
print("温馨提示:您还有"+str+"次机会")
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