This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What symbols are used to start and finish a list?
Parentheses: ()
()
Brackets: []
[]
Braces: {}
{}
Which statement would return the first value in the list planets?
planets
planets[-1]
planets[1]
planets[0]
Which statement would return the last value in the list planets?
planets[last]
planets[]
Which statement would sort the list planets?
planets.sort()
planets.in_order()
planets.sorted()
You must answer all questions before checking your work.
Was this page helpful?