Commit 39a73bed by BellCodeEditor

save project

parent 5c9b87bd
Showing with 18 additions and 0 deletions
name1="pl"
word1="123344"
while True:
if i>0:
name=input("请输入名字")
word=input("请输入密码")
i-=1
if name == name1 and word == word1:
print("登录成功!")
break
if name != name1:
print("用户名错误,请重新输入!")
continue
if word != word1:
print("密码错误,请重新输入!")
else:
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