Commit 9ed3376b by BellCodeEditor

save project

parent 7302d18e
Showing with 3 additions and 1 deletions
...@@ -9,7 +9,8 @@ while True: ...@@ -9,7 +9,8 @@ while True:
break break
else: else:
if a !=username: if a !=username:
print("账号输入错误") print("账号输入错误")
continue
elif b !=userpassword: elif b !=userpassword:
print("密码输入错误") 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