(5/10)
Your First List (Lists) — Python typing lesson
Create and work with lists to store multiple items.
What you'll practice
Let's organize our toys into a list! A list is a container that holds multiple items in order.
- A list starts and ends with square brackets [].
- Each item in the list is a string, so it needs quotes ''.
🐍Python
Your First List (Lists)
0 WPM
0% Accuracy
0:00 Time elapsed
1
2
3
toy_box = ['robot', 'car', 'dinosaur']↵
print('My toys are:')↵
print(toy_box)
0 / 75
Press This!
👇
`~
1!
2@
3#
4$
5%
6^
7&
8*
9(
0)
-_
=+
⌫
⇥
Q
W
E
R
Y
U
I
O
P
[{
]}
\|
⇪
A
S
D
F
G
H
J
K
L
;:
'"
↵
⇧
Z
X
C
V
B
N
M
,<
.>
/?
⇧
Thumb
Index
Middle
Ring
Pinky