Commit dc705e65 by BellCodeEditor

save project

parent b8b87ae8
Showing with 2 additions and 2 deletions
...@@ -6,7 +6,7 @@ while True: ...@@ -6,7 +6,7 @@ while True:
if i>0: if i>0:
c=input("请输入用户名:") c=input("请输入用户名:")
d=input("请输入密码:") d=input("请输入密码:")
w=input("请输入验证码s") w=input("请输入验证码paskodpok123e")
i-=1 i-=1
if a==c and b==d and w==s: if a==c and b==d and w==s:
print("登录成功!") print("登录成功!")
...@@ -14,7 +14,7 @@ while True: ...@@ -14,7 +14,7 @@ while True:
if a!=c: if a!=c:
print("用户名错误!请重新输入") print("用户名错误!请重新输入")
continue continue
if a!=c and b==d and w==s: if a==c and b!=d :
print("密码错误!请重新输入") print("密码错误!请重新输入")
if a==c and b==d and w!=s: if a==c and b==d and w!=s:
print("验证码错误!请重新输入") 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