Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson6-4
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
bc9dc212
authored
Dec 24, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
0142f979
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
diy.py
diy.py
View file @
bc9dc212
# 和你的小伙伴讲讲史上有名的三英战吕布的故事。然后完成下面挑战,并说说列表切片是什么,怎么用:
name
=
''
\ No newline at end of file
# 省略繁杂情节,刘关张三人一起冲入战场,围攻吕布:
a
=
[
'吕布'
]
b
=
[
'袁猫'
,
'公孙猫'
,
'关中猫'
,
'张小猫'
,
'刘大猫'
,
'曹猫'
]
print
(
b
[
2
:
5
],
"一起去抓吕布鼠,结果没想到遇到了杰瑞鼠,被整死了一群"
)
print
(
"s3,b5,f1,f2,s4"
)
\ 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