Commit c7e8595f by BellCodeEditor

save project

parent e3b2da4d
Showing with 7 additions and 3 deletions
usenamename='guohanzhe' usenamename='guohanzhe'
...@@ -6,4 +6,8 @@ while True: ...@@ -6,4 +6,8 @@ while True:
if name==usenamename and word==password: if name==usenamename and word==password:
print('登录成功') print('登录成功')
break break
print('登录失败') elif name!=usenamename:
\ No newline at end of file print('账号错误')
else:
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