Commit bb4a2733 by BellCodeEditor

save project

parent 68f8d582
Showing with 6 additions and 3 deletions
...@@ -8,5 +8,8 @@ while True: ...@@ -8,5 +8,8 @@ while True:
print("登陆成功") print("登陆成功")
break break
else: else:
print("输入错误,请重试") if a!=username:
# 如果用户输入的账号、密码正确,提示登陆成功 print("账号输入错误,请重试")
\ No newline at end of file # 如果用户输入的账号、密码正确,提示登陆成功
else b != userpassword
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