Commit c3426074 by BellCodeEditor

save project

parent b6e26bca
Showing with 17 additions and 10 deletions
i=5
NNM="floort"
NPW="36231123"
while True:
NM=input("请输入账号")
PW=input("请输入密码")
if PW==NPW and NM==NNM:
print("登录成功")
break
if NM!=NNM:
print("你怎么记不住你的账号")
continue
if PW!=NPW:
print("你怎么记不住你的密码")
if i >0:
NM=input("请输入账号")
PW=input("请输入密码")
i=i-1
if PW==NPW and NM==NNM:
print("登录成功")
break
elif NM!=NNM:
print("你怎么记不住你的账号")
continue
elif PW!=NPW:
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