Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson1_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
84e36d0c
authored
Jan 02, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e4351f3a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
te.py
te.py
View file @
84e36d0c
...
@@ -5,10 +5,15 @@ while True:
...
@@ -5,10 +5,15 @@ while True:
a
=
input
(
"请输入账号:"
)
a
=
input
(
"请输入账号:"
)
a1
=
input
(
"请输入密码:"
)
a1
=
input
(
"请输入密码:"
)
a1
=
int
(
a1
)
a1
=
int
(
a1
)
i
=
3
while
True
:
if
a
==
usename
and
a1
==
usepassword
:
if
a
==
usename
and
a1
==
usepassword
:
print
(
"登录成功"
)
print
(
"登录成功"
)
break
break
else
:
else
:
i
-=
1
if
i
==
0
:
exit
()
if
a
!=
usename
:
if
a
!=
usename
:
print
(
"用户名错误"
)
print
(
"用户名错误"
)
else
:
else
:
...
...
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