Commit 58837a69 by BellCodeEditor

save project

parent b4f1c1d1
Showing with 8 additions and 6 deletions
username="admin"
userpassword="123456"
while True
name=input("请输用户名")
password=input("请输密码")
name=input("请输用户名:")
password=input("请输密码:")
if username==name and userpassword==password:
print("成功登录")
break
if name !=username
print("用户名不存在!请重新输入")
if password !=userpassword
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