Commit 2d98542c by BellCodeEditor

save project

parent f5573bd7
Showing with 18 additions and 12 deletions
usenamename=input('你的名字是——') i=3
i=3
usenamename=input('你的名字是——') usenamename=input('你的名字是——')
password='666666' password='666666'
while True: while True:
name=input('请输入你的账号') if i>0:
word=input('请输入你的密码') name=input('请输入你的账号')
if name==usenamename and word==password: word=input('请输入你的密码')
print('登录成功') i-=1
break if name==usenamename and word==password:
elif name!=usenamename: print('登录成功')
print('账号错误') break
continue elif name!=usenamename:
print('账号错误')
continue
else:
print('密码错误')
continue
else: else:
print('密码错误') print('密码多次错误,账号已被锁定,请拿身份证到我公司查验')
exit()
\ No newline at end of file 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