Commit b526a32f by BellCodeEditor

save project

parent c177b9f0
Showing with 8 additions and 22 deletions
username = "python" username="python"
userpassword = "123456" userpassword="123456"
i =3
while True: nume=input("请输用户名")
if i>0: passwore=input("请输入密码")
print("你小子还剩"+str(i)+"次登陆机会,省着点用把握好机会") if nume ==passwore and username ==userpassword:
name = input("请输入用户名:") print("登录成功!")
password = input("请输入密码:") \ No newline at end of file
i -= 1
if name == username and password == userpassword:
print("登录成功!")
break
if name != username:
print("账号错误,请重新输入")
continue
if password != userpassword:
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