Commit a7fc5f34 by BellCodeEditor

save project

parent cfdb679d
Showing with 4 additions and 2 deletions
...@@ -8,8 +8,9 @@ while True: ...@@ -8,8 +8,9 @@ while True:
print('登录成功') print('登录成功')
break break
if a !=username: if a !=username:
print(账错) print('账错')
continue
if a !=username: if a !=username:
print(密错) print('密错')
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