Commit 56f03ec2 by BellCodeEditor

save project

parent 01016628
Showing with 8 additions and 3 deletions
i = 3
name = "114514" name = "114514"
m = "19191860" m = "19191860"
while True: while True:
if i>0
mame1 = imput("请输入账号") mame1 = imput("请输入账号")
m1 = imput("请输入账号") m1 = imput("请输入账号")
i -=1
if name == name1 and m == m1 if name == name1 and m == m1
print("登陆成功") print("登陆成功")
break break
if name !=name1: if name !=name1:
print("账号输入错误") print("账号输入错误")
print("你还有"=star(i)="次机会!")
continue continue
if m !=m1: if m !=m1:
print("密码输入错误") print("密码输入错误")
print("欢迎来到天堂请投胎") else:
print("次数已经耗尽")
exit()
print("欢迎来到天堂请投胎")
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