Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-1-1_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
14bded9c
authored
3 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
6d4c5efa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
bangxuan.py
bangxuan.py
View file @
14bded9c
zh
=
"bangxuan"
zh
=
"bangxuan"
mm
=
"123456"
mm
=
"123456"
zh1
=
input
(
"请输入账号"
)
while
True
:
mm1
=
input
(
"请输入密码"
)
zh1
=
input
(
"请输入账号"
)
if
zh
==
zh1
and
mm
==
mm1
:
mm1
=
input
(
"请输入密码"
)
print
(
"登录成功!"
)
if
zh
==
zh1
and
mm
==
mm1
:
else
:
print
(
"登录成功!"
)
print
(
"账号密码输入错误!"
)
break
\ No newline at end of file
print
(
"账号密码输入错误!"
)
print
(
"欢迎来到贝尔编程!"
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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