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
67aa427d
authored
Apr 02, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
721fd976
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
2-4-diy1.py
q.py
2-4-diy1.py
0 → 100644
View file @
67aa427d
username
=
"python"
userpassword
=
"123456"
name
=
input
(
"请输入用户名:"
)
password
=
input
(
"请输入密码:"
)
if
name
==
username
and
password
==
userpassword
:
print
(
"登录成功!"
)
\ No newline at end of file
q.py
0 → 100644
View file @
67aa427d
def
kk
():
x
=
input
(
"今天星期几"
)
if
x
==
"星期一"
:
print
(
"今天学钢琴"
)
elif
x
==
"星期二"
or
x
==
"星期四"
or
x
==
"星期五"
or
x
==
"星期六"
or
x
==
"星期日"
:
print
(
"今天学国学"
)
else
:
print
(
"今天学编程"
)
kk
()
\ 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