Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-5-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
34d111e5
authored
Jan 02, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
f90b3630
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
滚滚滚.py
滚滚滚.py
View file @
34d111e5
usena
me
=
"python"
usena
me
=
"python"
usename
=
"python"
userpassword
=
"123456"
a
=
input
(
"你的账号是啥子?"
)
b
=
input
(
"你的密码是啥子?"
)
if
a
==
"python"
:
print
(
"正确"
)
if
b
==
"123456"
:
while
True
:
a
=
input
(
"你的账号是啥子?"
)
b
=
input
(
"你的密码是啥子?"
)
if
a
==
usename
and
b
==
userpassword
:
print
(
"正确"
)
break
print
(
"登录失败"
)
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