Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-3_DIY1
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
550bf917
authored
Sep 11, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
2801e1ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
t.py
t.py
View file @
550bf917
usename
=
"python"
usename
=
"python"
userpassword
=
"123456"
userpassword
=
"123456"
while
True
:
a
=
input
(
"账号密码是多少?"
)
a
=
input
(
"账号密码是多少?"
)
b
=
input
(
"手机号码是多少?"
)
b
=
input
(
"手机号码是多少?"
)
if
a
==
usename
and
b
==
userpassword
:
if
a
==
usename
and
b
==
userpassword
:
print
(
"输入正确,登录成功"
)
print
(
"输入正确,登录成功"
)
else
:
break
print
(
"输入错误,登录失败"
)
else
:
\ No newline at end of file
print
(
"输入错误,登录失败"
)
\ No newline at end of file
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