Commit d2a52d8c by BellCodeEditor

save project

parent 18e7fc74
Showing with 4 additions and 0 deletions
......@@ -4,6 +4,10 @@ while True:
name=input("请输入用户账号")
# 请用input()实现用户输入账号、密码的功能
password=input("请输入账号密码")
if username!=name:
print("用户名不正确")
if userpassword!=password:
print("账号密码不正确")
if username ==name and userpassword==password:
print("登录成功")
break
......
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