Commit fc8da081 by BellCodeEditor

save project

parent 2af0260f
Showing with 6 additions and 5 deletions
...@@ -8,11 +8,11 @@ while True: ...@@ -8,11 +8,11 @@ while True:
else: else:
b=input('你的密码:') b=input('你的密码:')
if d!=b: if d!=b:
print('密码错误') print('密码错误')
if c==a and d==b: if c==a and d==b:
print('登录成功!') print('登录成功!')
break break
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
\ 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