A student tries five one-line programs that index or slice a string, a list or a dictionary. Which of these programs end without an error? Choose every correct option.
One or more options are correct. Tick all the correct ones: a wrong option costs marks, and a part-right answer earns part of the marks.
Log in to join the discussion.
Loading…