Commit c241753b by BellCodeEditor

save project

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