Commit c241753b by BellCodeEditor

save project

parent f30fef9d
Showing with 7 additions and 4 deletions
......@@ -4,7 +4,10 @@ userpassword = "258051"
name = input("请输入你的用户名:")
pawd = input("请输入密码:")
if username == name and userpassword == pawd:
print("登录成功✔")
else:
print("输入错误✘")
if username == name and userpassword == pawd:
print("登录成功✔")
break
if name!=sername:
print("用户账号错误,请输入")
if pawd!=userpassword:
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