Commit bbdc9ce2 by BellCodeEditor

save project

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