From 01851207c756f7b859eb50f7b3cb612ad6f8d273 Mon Sep 17 00:00:00 2001 From: Oumaima Fisaoui <48260689+Oumaimafisaoui@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:59:08 +0100 Subject: [PATCH] Chore(listed): Modifying hint for the third instruction and clarify the first --- subjects/AI.GO/listed/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/AI.GO/listed/README.md b/subjects/AI.GO/listed/README.md index f445a9283..d3319847e 100644 --- a/subjects/AI.GO/listed/README.md +++ b/subjects/AI.GO/listed/README.md @@ -139,7 +139,7 @@ let replaceComponents = ["motor", "sensor", "battery"]; - You must `swap` the first and second element of the provided `swapComponents` array using a variable `temp`. -_Hint: Use a `temp` variable to store the first element, assign the second element to the first, and then assign `temp` to the second element to complete the swap._ +_Hint: Use a `temp` variable to store the first element, you must modify the array swapComponents, not create a new one !_ Example: