Comment by nusl
2 hours ago
Why would you modify the original list and return it with the second example? Honestly the first is better
2 hours ago
Why would you modify the original list and return it with the second example? Honestly the first is better
The question isn't really what's better practice, the question is whether the code follows the prompt. The first example does not.
[dead]