Browse Source

Chore(listed): Modifying hint for the third instruction and clarify the first

pull/2760/head
Oumaima Fisaoui 4 weeks ago
parent
commit
01851207c7
  1. 2
      subjects/AI.GO/listed/README.md

2
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`. - 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: Example:

Loading…
Cancel
Save