Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson9_1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
feff6f16
authored
Feb 03, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
a8e72657
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
2B.py
2B.py
0 → 100644
View file @
feff6f16
i
=
5
mingzi
=
'李奕隆'
mima
=
'120804'
while
True
:
if
i
>
0
:
a
=
input
(
'请输入账号'
)
b
=
input
(
'请输入密码'
)
i
-=
1
if
a
==
mingzi
and
b
==
mima
:
print
(
'登录成功'
)
break
else
:
print
(
'登陆失败'
)
print
(
'还有'
,
i
,
'次机会'
)
else
:
print
(
'已锁定,请携带身份证到本公司解锁。'
)
exit
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment