Commit 6117c4ab by BellCodeEditor

save project

parent 3c4c1852
Showing with 17 additions and 0 deletions
......@@ -6,5 +6,22 @@ while True:
if name == username and password == userpassword:
print("登录成功!")
break
if name !=username
print('姓名错误')
if pessword != userpassword:
print('密码错误')
else:
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