Commit 0665a751 by BellCodeEditor

save project

parent 2f8963af
Showing with 20 additions and 12 deletions
f = "j"
y = "123"
i = 3
f=("j")
y=("123")
while True:
f1 = input("请输入账号")
y1 = input("请输入密码")
if f==f1 and y==y1:
print("登陆成功")
break
if f!=f1:
print("账号错误")
continue
if y!=y1:
print("密码错误")
if i>0:
f1 = input("请输入账号")
y1 = input("请输入密码")
i-=1
if f==f1 and y==y1:
print("登陆成功")
break
if f!=f1:
print("账号错误")
pr(iint( "你还有"+str)+"次")
continue
if y!=y1:
print("密码错误")
print("你还有"+str(i)+"次")
else:
print("没次数了!")
exit()
input("欢迎")
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