Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson6-3
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
0b4d867b
authored
Jun 05, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e5c8bc68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
quiz1.py
quiz3.py
quiz1.py
View file @
0b4d867b
# 勇于挑战的创造师,请运行这段代码,看看能不能将颜良、文丑加入战场?
# 勇于挑战的创造师,请运行这段代码,看看能不能将颜良、文丑加入战场?
a
=
[
'华雄'
]
a
=
[
'华雄'
]
a
.
append
(
'颜良'
,
'文丑'
)
a
.
append
(
'颜良'
)
a
.
append
(
'文丑'
)
print
(
a
)
print
(
a
)
quiz3.py
0 → 100644
View file @
0b4d867b
a
=
[
'华雄'
]
a
.
insert
(
1
,
'颜良'
)
a
.
insert
(
2
,
'文丑'
)
print
(
a
)
\ 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