Commit 773afa90 by BellCodeEditor

save project

parent 592b3b35
Showing with 1 additions and 1 deletions
...@@ -6,7 +6,7 @@ name = input("请输入你的用户名:") ...@@ -6,7 +6,7 @@ name = input("请输入你的用户名:")
password = input("请输入你的用户密码:") password = input("请输入你的用户密码:")
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
if name == usename and password == userpassword: if name == username and password == userpassword:
print("你已成功登录!") print("你已成功登录!")
else: else:
print("你的信息错误!") 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