Commit 55dda08e by BellCodeEditor

save project

parent 9acdf46f
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
else:
if n1 != n:
print("账号错误!")
continue
if 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