Commit eab14102 by BellCodeEditor

save project

parent 77d21a25
Showing with 16 additions and 3 deletions
username = 'python'
usepassword = '123456'
i=3
while True:
name = input('请输入用户名')
password = input('')
\ No newline at end of file
if i>0:
name = input('请输入用户名')
password = input('请输入密码')
i-=1
if name == username and password == usepassword:
print('登入成功')
break
elif name != username:
print('用户不存在')
else:
print('用户不存在')
else:
print('请到我公司解锁')
exit()
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