Commit 70a2f904 by BellCodeEditor

save project

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