Commit 34799f37 by BellCodeEditor

save project

parent b810c294
Showing with 22 additions and 0 deletions
i="iii"
y="123456"
x=5
while True:
if x>0:
q=input("请输入账号")
w=input("请输入密码")
print("温馨提示:您还有"+str(x)+"次机会")
x-=1
if i==q and y==w:
print("登录成功")
break
if i!=q:
print("账号错误")
continue
if y!=w:
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