Commit 4f076a0d by BellCodeEditor

save project

parent 4a7cb6b6
Showing with 13 additions and 0 deletions
un = "python"
up = "123456"
while True:
nm = input("请输入用户名:")
pw = input("请输入密码:")
if nm == un and pw == up:
print("登录成功!")
break
if nm != un:
print("用户名错误")
if pw != up:
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