Commit d7edf140 by BellCodeEditor

save project

parent b9e54f9e
Showing with 14 additions and 7 deletions
username = "python"
userpassword = "123456"
i=3
while True:
name = input()
password = input()
if name != eusernam
print("账号错误!")
continue
if password != eusernam
print("密码错误!请重新输入")
if i>0:
name = input()
i-=1
password = input()
if name != username:
print("账号错误!")
continue
if password != userpassword:
print("密码错误!请重新输入")
else:
print("账号已被锁定,请拿身份证来我司解锁")
exit()
if name == username and notpassword == userpassword
print("欢迎来到贝尔编程!")
break
\ 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