Commit 7ac82d66 by BellCodeEditor

save project

parent 4325ad33
Showing with 22 additions and 7 deletions
A=="ttt" A="ttt"
B=="111" B="111"
z==input("账号:") C=5
x==input("密码:") while True:
while true: print("你还有"+str(C)+"次机会")
if C==0:
print("失败")
break
z=input("账号:")
x=input("密码:")
C-=1
if z==A and x==B: if z==A and x==B:
print("成功") print("成功")
\ No newline at end of file print("欢迎你来")
break
if z!=A:
print("账号错了,重新输入: ")
continue
if x!=B:
print("密码错了,重新输入: ")
continue
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