Commit d10e4eaf by BellCodeEditor

save project

parent 11bb5c21
Showing with 10 additions and 4 deletions
n = "python" n = "python"
m = "123456" m = "123456"
tn = input("账号:") while True:
tm = input("密码:") tn = input("账号:")
if tn==n and tm==m: tm = input("密码:")
print("登录成功") if tn==n and tm==m:
print("登录成功")
break
else:
print("账号密码错误,请重新登录")
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