Commit 5d92a2ff by BellCodeEditor

save project

parent 1e34967c
Showing with 11 additions and 5 deletions
......@@ -5,10 +5,16 @@ word=input("请&入密码")
while True:
if username==name and userpassword==word:
print("登录成功")
break
if name !=username:
print("wcnm")
if userpassword:
brea
if name !=username:
print("用户错误")
print("温馨提示:您还有"+str(i)+"次登录机会")
continue
if userpassword ==word:
print("温馨提示:您还有"+str(i)+"次登录机会")
print("广东话")
print("欢迎来到贝尔编程")
else:
print("次数用完,锁定")
exit()
print("欢迎来到贝尔编程!")
# 如果用户输入的账号、密码正确,提示登陆成功
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