Commit 0fff979b by BellCodeEditor

save project

parent 7302b290
Showing with 10 additions and 2 deletions
i=3
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456"
while True:
if i>0:
name=input("请输入用户名:")
password=input("请输入密码:")
if name!=username:
......@@ -10,4 +13,9 @@ while True:
else:
print("登入成功")
break
print("欢迎来到贝尔编程")
\ No newline at end of file
else:
print("你的账号已被锁定,请带身份证来我司解锁")
exit()
i-=1
print("温馨提示:您还有"+str(i)+"次登录机会")
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