Commit 21ad08fa by BellCodeEditor

save project

parent edb76583
Showing with 7 additions and 9 deletions
...@@ -6,11 +6,9 @@ while True: ...@@ -6,11 +6,9 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("成功!") print("成功!")
break break
# if name != username: if password != userpassword:
# print('用户名错误') print("hho")
if usepassword != password: if name != username:
print("密码错误") print("hhh")
print("错误!")
print("欢迎!") \ No newline at end of file
\ 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