Commit cd6fd7b9 by BellCodeEditor

save project

parent b87eb7d8
Showing with 21 additions and 0 deletions
i=3
us="python"
ue="123456"
while True:
if i>0:
n=input("请输入名字")
p=input("请输入密码")
i-=1
if n==us and p==ue:
print("登录成功")
break
if n!=us:
print("名字错误")
continue
if p!=ue:
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