Commit c04d2fa7 by BellCodeEditor

save project

parent 49ddaa04
Showing with 4 additions and 2 deletions
...@@ -5,4 +5,6 @@ n = input("账号:") ...@@ -5,4 +5,6 @@ n = input("账号:")
p = input("密码:") p = input("密码:")
if n == username and p == userpassword: if n == username and p == userpassword:
print("登陆成功!")# 如果用户输入的账号、密码正确,提示登陆成功 print("登陆成功!")
\ No newline at end of file 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