Commit a3bb37a3 by BellCodeEditor

save project

parent 95abc8b6
Showing with 10 additions and 1 deletions
...@@ -11,7 +11,15 @@ while True: ...@@ -11,7 +11,15 @@ while True:
if username == username1 and userpassword == userpassword1: if username == username1 and userpassword == userpassword1:
print("输入正确") print("输入正确")
break break
else: else:
print("重新输入") if username != username1:
print("用户名错误")
elif userpassword != userpassword1:
print("密码错误")
\ 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