Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_2
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
6f8ade98
authored
May 14, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
215cfdab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
diy2.py
diy2.py
View file @
6f8ade98
aa
=
"SB"
aa
=
"SB"
bb
=
"123456"
bb
=
"123456"
i
=
3
while
True
:
if
i
>
0
:
a
=
input
(
"名称"
)
a
=
input
(
"名称"
)
b
=
input
(
"密码"
)
b
=
input
(
"密码"
)
if
a
==
aa
and
b
==
bb
:
if
a
==
aa
and
b
==
bb
:
break
print
(
"阿对对对"
)
el
if
not
a
==
aa
:
if
not
a
==
aa
:
print
(
"账号错!"
)
print
(
"账号错!"
)
else
:
i
=
i
=
1
continue
if
not
b
==
bb
:
print
(
"密码错!"
)
print
(
"密码错!"
)
i
=
i
-
1
print
(
"阿对对对"
)
else
:
print
(
"没机会了"
)
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