Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_5
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
582b0f26
authored
Jun 08, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
106e03aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
dey.py
diy.py
dey.py
0 → 100644
View file @
582b0f26
n
=
input
(
"输入压岁钱"
)
print
(
"可以买"
,
n
//
23
,
"剩下"
,
n
%
23
)
\ No newline at end of file
diy.py
0 → 100644
View file @
582b0f26
a
=
[
'华雄'
]
b
=
[
'衰术'
,
'夏侯惇'
,
'曹操'
,
'关羽'
]
a
.
pop
(
0
)
b
.
pop
(
3
)
c
=
[
'华雄'
,
'关羽'
]
print
(
c
)
d
=
[
'颜良'
,
'文丑'
]
c
.
extend
(
d
)
print
(
c
)
a
.
insert
(
1
,
d
)
print
(
a
)
c
.
extend
(
b
[
1
:
3
])
print
(
c
)
\ 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