Commit c99d56b3 by BellCodeEditor

save project

parent 9acdf46f
Showing with 16 additions and 0 deletions
name = "Creeper?"
password = "Aw man"
while True:
zhanghao = input("请输入用户名:")
mima = input("请输入密码:")
if zhanghao == name and mima == password:
print("登录成功!")
break
else:
if zhanghao!=name:
print("账号不正确,请重新输入")
continue
if mima!=password:
print("密码不正确,请重新输入")
print("welcome!你好!"+name)
\ No newline at end of file
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