Commit 70a2f904 by BellCodeEditor

save project

parent 0a8b22e4
Showing with 17 additions and 10 deletions
name="zhy"
mima="1234567"
i=3
while True:
name1=input("name?")
mima1=input("mima?")
if name1==name and mima1==mima:
print("成功")
break
elif name1!=name:
print("你不知道你叫什么名吗?")
elif mima1!=mima:
print("给爷重输")
if i>0:
name1=input("name?")
mima1=input("mima?")
if name1==name and mima1==mima:
print("成功")
break
elif name1!=name:
print("你不知道你叫什么名吗?")
i-=1
elif mima1!=mima:
print("给爷重输")
i-=1
else:
print("滚")
exit()
print("welcome")
\ 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