Commit 5209598e by BellCodeEditor

save project

parent 5fe95db5
Showing with 20 additions and 11 deletions
a="abc" a="abc"
b="123" b="123"
i=3
while True: while True:
c=input("名字:") if i>0:
if a!=c: c=input("名字:")
print("名字错误") i-=1
continue if a!=c:
d=input("密码:") print("名字错误")
continue
if a==c and b==d: print("还有"+i+"次")
print("正常") d=input("密码:")
break
if b!=d: if a==c and b==d:
print("密码错误") print("正常")
break
if b!=d:
print("密码错误")
print("还有"+i+"次")
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