From 59477d4ead71f3f3c95da27fb449b6a18bf6014c Mon Sep 17 00:00:00 2001 From: Leon Qadirie <39130739+leonqadirie@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:05:32 +0800 Subject: [PATCH] Update instructions.md While returning a copy makes more sense semantically, this is: * not tested * encourages just using the `sorted()` function instead of the `copy().sort()` method I suspect we want to see in this exercise. --- .../concept/chaitanas-colossal-coaster/.docs/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/chaitanas-colossal-coaster/.docs/instructions.md b/exercises/concept/chaitanas-colossal-coaster/.docs/instructions.md index 40280179c8..abc7390a38 100644 --- a/exercises/concept/chaitanas-colossal-coaster/.docs/instructions.md +++ b/exercises/concept/chaitanas-colossal-coaster/.docs/instructions.md @@ -134,7 +134,7 @@ You should update the `list` and also `return` the name of the person who was re For administrative purposes, you need to get all the names in a given queue in alphabetical order. -Define the `sorted_names()` function that takes 1 argument, `queue`, (the `list` of people standing in the queue), and returns a `sorted` copy of the `list`. +Define the `sorted_names()` function that takes 1 argument, `queue`, (the `list` of people standing in the queue), and returns the `sorted` `list`. ```python