Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-5-2_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
80211d05
authored
Jun 15, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
72a44922
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
11 deletions
Untitled-1.py
Untitled-1.py.py
hza.py
Untitled-1.py
0 → 100644
View file @
80211d05
user
=
"python"
userpassword
=
"123456"
while
True
:
name
=
input
(
"你的账号"
)
password
=
input
(
"你的密码"
)
if
name
==
username
and
password
==
userpassword
:
print
(
"输入正确"
)
break
print
(
"欢迎来到贝尔编程"
)
\ No newline at end of file
Untitled-1.py.py
deleted
100644 → 0
View file @
72a44922
user
=
"python"
userpassword
=
"123456"
userme
=
input
(
"请输入您的账号:"
)
userpasswordme
=
input
(
"请输入您的密码:"
)
if
user
==
userme
and
userpassword
==
userpasswordme
:
print
(
"欢迎
%
s"
%
(
user
))
else
:
print
(
"您输入的账号和密码输入错误!"
)
\ No newline at end of file
hza.py
0 → 100644
View file @
80211d05
i
=
0
while
i
<
5
:
print
(
"悟空"
)
i
=
i
+
1
if
i
==
4
:
break
\ 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