Commit 918b8d10 by BellCodeEditor

save project

parent 8a9cecca
Showing with 15 additions and 0 deletions
n = "python"
u = "123456"
while True:
n1 = input("请输入账号:")
u1 = input("请输入密码:")
if n1 == n and u1 == u:
print("登录成功!")
break
elif n1 == n and u1 != u:
pass
elif n1 != n and u1 == u:
print("账号错误!")
elif n1 != n and u1 != u:
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