JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Solution Array Challenge 1.3. Thumbs or Down
Pages
Solution
The Task
Python Starter Code
CodeClips
Solution Array Challenge 1.3. Thumbs or Down
/
Solution
Share
Explore
Solution
Solution
solution
print
(
'\n\n'
)
# display blank line (2)
# sets up array of year released
thumbs
=
[
True
,
True
,
True
,
True
,
False
,
False
,
True
,
False
]
# prints out each element of array
for
i
in
range
(
0
,
len
(
thumbs
)
,
1
)
:
print
(
thumbs
[
i
]
)
original
print
(
'\n\n'
)
# display blank line (2)
# sets up array of year released
# prints out each element of array
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
Ctrl
P
) instead.