Commit 9075db53 by BellCodeEditor

save project

parent 540cf502
Showing with 22 additions and 0 deletions
i=0
username='SANS'
upassworserd='114514'
while True:
if i<2:
name=input("输入用户名")
mima=input("输入密码")
i+=1
if name==username and mima==upassworserd:
print("成功登陆")
break
if name!=username:
print("账号错误")
if mima!=upassworserd:
print("密码错误")
continue
print("密码或账号输入错误,请重新输入")
else:
print("账号已锁定")
exit()
print("444")
\ 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