Commit 89b12e43 by BellCodeEditor

save project

parent 94deb17d
Showing with 13 additions and 6 deletions
A="1234567890"
B="0987654321"
C=input("用户名:")
D=input("密码:")
if C==A and B==D:
while True:
C=input("用户名:")
D=input("密码:")
if C==A and B==D:
print("登陆成功")
else:
print("用户名或密码错误")
\ No newline at end of file
break
else:
if C!=A:
print("登陆失败")
elif D!=B:
print("密码失败")
else:
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