🔥
0
0 XP
Lv.1 Beginner
Log In
Home
/
Python
/
Getting Started
/
Lists
/
List Slice
/
Exercise
You have this list already defined:
python
9
1
numbers
=
[
10
,
20
,
30
,
40
,
50
,
60
]
Use
slicing
to:
Print the
first 3 items
of the list.
Print the
last 2 items
of the list.
Expected output:
text
[10, 20, 30] [50, 60]
💡
Hints
?
Hint 1
Reveal (-5 XP)
🔒
Hint 2
🔒
Hint 3
python
Reset
9
1
▶ Run
Visualize
✓ Submit
← Find Biggest
Fix the Append →