-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[List Ops]: Potential mismatch between instructions and tests #3141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
🤖 🤖 Hi! 👋🏽 👋 Welcome to the Exercism Python Repo! Thank you for opening an issue! 🐍 🌈 ✨
◦ If you'd also like to make a PR to fix the issue, please have a quick look at the Pull Requests doc.
💛 💙 While you are here... If you decide to help out with other open issues, you have our gratitude 🙌 🙌🏽. |
Hi @OndrejMarsalek 👋🏽 Thanks for filing this issue. A few things here:
|
Closing to track under #3156. Please give a shout if you'd like to work on the issue. |
The instructions for
append
say "given two lists, add all items in the second list to the end of the first list". Although I understand someone could read it the other way, to me, a strict reading of this is that the first list should be modified. The tests do not guard against constructing a third list that contains items from both inputs, and people will commonly solve this withreturn list1 + list2
. I think that either the instructions or tests should be updated, but I am not submitting a PR, as it is not clear to me what the original intention was.The text was updated successfully, but these errors were encountered: