Commit 6d4cae21 by BellCodeEditor

save project

parent 89070db4
Showing with 4 additions and 4 deletions
a = "12121234545456"
a = "1212"
b ="123456"
while True:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == a and password == a:
if name == a and password == b:
print("登录成功!")
break
if name != a and password==b:
......@@ -12,4 +12,4 @@ while True:
print("登录成功 就怪了")
if name!=a and password!=b :
print("NO")
print("欢迎来到贝尔编程!")
\ No newline at end of file
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