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
c86fd56f
authored
Mar 19, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
2d121c45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
5 deletions
diy2.py
zm.py
diy2.py
View file @
c86fd56f
uname
=
"python"
um
=
"11111111"
name
=
input
(
"请输入账号"
)
m
=
input
(
"请输入密码"
)
if
uname
==
name
and
um
==
n
nrint
(
"登录成功"
)
\ No newline at end of file
zm.py
View file @
c86fd56f
s
=
"dyuo"
m
=
"13425"
s1
=
input
(
"账号"
)
m1
=
input
(
"密码"
)
if
s
==
s1
and
m
==
m1
:
print
(
"成功"
)
\ No newline at end of file
while
True
:
s1
=
input
(
"账号"
)
m1
=
input
(
"密码"
)
if
s
==
s1
and
m
==
m1
:
print
(
"成功"
)
break
if
s
!=
s1
:
print
(
"错误"
)
if
m
!=
m1
:
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