Commit 6cd2f94c by BellCodeEditor

auto save

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