Commit b64ed571 by BellCodeEditor

save project

parent 60f18188
Showing with 17 additions and 0 deletions
a = "SB"
b = "1234567890"
while True:
c=input("请输入账号:")
d=input("请输入密码:")
if a==c:
if b==d:
print("登录成功")
break
if a!=c and b==d:
print("账号错误")
if a==c and b!=d:
print("密码错误")
if a!=c and b!=d:
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