Commit bbdc9ce2 by BellCodeEditor

save project

parent 5d818b1d
Showing with 19 additions and 12 deletions
username="python"
userpassword="123456"
while True:
name=input("请输入")
password=input"请输入"
if name==username and password==userpassword:
print("成功")
break
elif name !=usernam:
print("请重新输入")
else:
print("请重新输入")
print("欢迎")
\ No newline at end of file
if i>1:
name=input("请输入")
password=input"请输入"
i=i-1
if name==username and password==userpassword:
print("成功")
break
if name !=username:
print("请重新输入")
continue
if password !=userpassword:
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