Commit 8c2f9685 by BellCodeEditor

save project

parent 5ab449ba
Showing with 3 additions and 0 deletions
...@@ -6,6 +6,8 @@ MD=input("请输入账号") ...@@ -6,6 +6,8 @@ MD=input("请输入账号")
YJ=input("请输入密码") YJ=input("请输入密码")
if MD==username and YJ==userpassword: if MD==username and YJ==userpassword:
print("登录成功!") print("登录成功!")
else:
print("登录失败!")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
\ 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