Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson6-5-2
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
111c5c07
authored
Sep 04, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d847c5cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
KKKKZZZZ.PY
KKKKZZZZ.PY
0 → 100644
View file @
111c5c07
#二维列表
#二位列表中的信息以列和行的形式表示,第一个下标代表元素所在的行,第二个下标代表元素所在的列
#二维列表就是包含列表的列表,即一个列表的每个元素又都是一个列表
v
=
[[
'移'
,
'舟'
,
'泊'
,
'烟'
,
'渚'
],[
'日'
,
'暮'
,
'客'
,
'愁'
,
'新'
],[
'野'
,
'旷'
,
'天'
,
'低'
,
'树'
],[
'江'
,
'清'
,
'月'
,
'近'
,
'人'
]]
print
(
v
)
for
i
in
range
(
4
):
for
j
in
range
(
5
):
print
(
v
[
i
][
j
],
end
=
" "
)
print
(
)
\ 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