Commit b8b87ae8 by BellCodeEditor

save project

parent 52b9dc2a
Showing with 4 additions and 1 deletions
s="paskodpok123e" s="paskodpok123e"
a = "a" a = "a"
b = "123456" b = "123456"
i=4
while True: while True:
if i>0: if i>0:
c=input("请输入用户名:") c=input("请输入用户名:")
...@@ -10,7 +11,7 @@ while True: ...@@ -10,7 +11,7 @@ while True:
if a==c and b==d and w==s: if a==c and b==d and w==s:
print("登录成功!") print("登录成功!")
break break
if a==c and b!=d and w==s: if a!=c:
print("用户名错误!请重新输入") print("用户名错误!请重新输入")
continue continue
if a!=c and b==d and w==s: if a!=c and b==d and w==s:
...@@ -19,4 +20,5 @@ while True: ...@@ -19,4 +20,5 @@ while True:
print("验证码错误!请重新输入") print("验证码错误!请重新输入")
else: else:
print("伞兵,滚滚滚!") print("伞兵,滚滚滚!")
exit()
print("欢迎来到贝尔编程!") print("欢迎来到贝尔编程!")
\ 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