JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Gallery
Solution Array Challenge 1.1. Show Titles
Share
Explore
Gallery
Solution Array Challenge 1.1. Show Titles
Solution Array Challenge 1.1. Show Titles
Solution
The Task
Python Starter Code
Code Clips
Solution
Solution
solution
print
(
'\n\n'
)
# display blank line (2)
# sets up array of titles
showTitle
=
[
'Man VS Bee'
,
'Surviving Summer'
,
'Fate: The Winx Saga'
,
'Sweet Tooth'
,
'Friends'
,
'Outer Banks'
,
'Cobra Kai'
,
'Derry Girls'
]
# prints out each element of array
for
i
in
range
(
0
,
len
(
showTitle
)
,
1
)
:
print
(
showTitle
[
i
]
)
original
print
(
'\n\n'
)
# display blank line (2)
# sets up array of titles
# prints out each element of array
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.