Skip to content

Commit

Permalink
Fixed wording on answers
Browse files Browse the repository at this point in the history
  • Loading branch information
barbarer committed Dec 31, 2024
1 parent 3a179b9 commit b008844
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _sources/lists/listAsArgument.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ The slice operator creates a new list and the assignment makes
``t`` refer to it, but none of that has any effect on the list
that was passed as an argument.

.. mchoice:: listArg_MC_slice_v2
.. mchoice:: listArg_MC_slice_v3
:practice: T
:answer_a: True
:answer_b: False
:correct: a
:feedback_a: The slice operator creates a new list called "lst", but that will not affect the list it was passed.
:feedback_b: The slice operator creates a new list called "lst", so it will not modify the original list.
:feedback_a: The slice operator creates a new list, "lst" refers to that new list, the original list is not changed.
:feedback_b: The slice operator creates a new list, "lst" refers to that new list, the original list is not changed.

True or False. The following code block will **not** remove the first element from the list argument.

Expand Down

0 comments on commit b008844

Please sign in to comment.