Commit bbdc9ce2 by BellCodeEditor

save project

parent 5d818b1d
Showing with 11 additions and 3 deletions
username="python" username="python"
userpassword="123456" userpassword="123456"
while True: while True:
if i>1:
name=input("请输入") name=input("请输入")
password=input"请输入" password=input"请输入"
i=i-1
if name==username and password==userpassword: if name==username and password==userpassword:
print("成功") print("成功")
break break
elif name !=usernam: if name !=username:
print("请重新输入") print("请重新输入")
continue
else: if password !=userpassword:
print("请重新输入") print("请重新输入")
else:
print("已锁定")
exit()
print("欢迎") 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