Commit 7bba26dd by BellCodeEditor

save project

parent 49c5b54f
Showing with 5 additions and 2 deletions
......@@ -6,7 +6,10 @@ while True:
if name==username and userpassword==password:
# 请用input()实现用户输入账号、密码的功能
print("登录成功")# 如果用户输入的账号、密码正确,提示登陆成功
break
if name != username:
print("用户名错误")
if userpassword != password:
print("用密码错误")
break
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