Commit de7de025 by BellCodeEditor

save project

parent 04120a6d
Showing with 4 additions and 4 deletions
......@@ -6,21 +6,21 @@ while True:
if i>0:
c=input("请输入用户名:")
d=input("请输入密码:")
w=input("请输入验证码paskodpok123e")
w=input("请输入验证码(paskodpok123e)")
i-=1
if a==c and b==d and w==s:
print("登录成功!")
break
if a!=c:
print("用户名错误!请重新输入")
print("提示:您还有"str(i)+"次登录机会")
print("提示:您还有"+str(i)+"次登录机会")
continue
if a==c and b!=d :
print("密码错误!请重新输入")
print("提示:您还有"str(i)+"次登录机会")
print("提示:您还有"+str(i)+"次登录机会")
if a==c and b==d and w!=s:
print("验证码错误!请重新输入")
print("提示:您还有"str(i)+"次登录机会")
print("提示:您还有"+str(i)+"次登录机会")
else:
print("伞兵,滚滚滚!")
exit()
......
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