Commit 2e09b46a by BellCodeEditor

save project

parent 6655510d
Showing with 4 additions and 1 deletions
......@@ -5,7 +5,10 @@ pwd=input("请输入密码")
while True:
if name=="user" and pwd=="123456":
break
print("重新登陆")
if name != username:
print("用户名错误")
if pwd != userpassword:
print("密码错误")
print("登陆成功")
# 请用input()实现用户输入账号、密码的功能
......
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