You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a tracking issue for reviewing and improving the List Ops practice exercise for Python.
Please see issues #3142, #3141 (with the related #2078 in problem-specifications), and #3154 for details and discussion on some explanations/clarity that's needed.
As discussed in #2078, there are several avenues we could take in clarifying/filling out this exercise:
An instruction append, along the lines of this exercise -- not that we have to be that imperative, but we can add a few instructions/variations. As noted in the discussion in [List Ops]: clarity about what operations we are permitted to use #3154, we probably don't want to do anything that might "give away" a specific solution, but we could always suggest/encourage thinking about certain modules, approaches, or functions in a hinty sort of way.
A hints.md file, similar to the one for this exercise. I especially like the opening paragraph that reminds the student that there are multiple paths/strategies. We might outline useful groups of functions or modules at different "levels" of difficulty. Again, these would probably be in the form of questions like "how might x help you to not use the + operator here??" or "could y help you out with this?"
A set of mentor notes (see the website-copy repo for examples for Python). In the mentor notes, we could encourage mentors to nudge students to challenge themselves with one or more variations on the exercise.
Some additional Python-specific tests that nudge a student in a particular direction. We'd want to be careful to not fish for a specific implementation, so this approach might be limited.
The text was updated successfully, but these errors were encountered:
This is a tracking issue for reviewing and improving the
List Ops
practice exercise for Python.Please see issues #3142, #3141 (with the related #2078 in problem-specifications), and #3154 for details and discussion on some explanations/clarity that's needed.
In particular, there are the following issues:
concat
instructions seem unclear, and could be mis-interpreted to mean "fully unpack". ([List Ops]: def concat(lists) possible test error #3142)foldr
is not fully explained, and can lead to confusion ([LIst Ops] Wrong test case in list-ops exercise (python) #3084)append
requires a newlist
or the mutation of eitherlist A
orlist B
([List Ops]: Potential mismatch between instructions and tests #3141)As discussed in #2078, there are several avenues we could take in clarifying/filling out this exercise:
hints.md
file, similar to the one for this exercise. I especially like the opening paragraph that reminds the student that there are multiple paths/strategies. We might outline useful groups of functions or modules at different "levels" of difficulty. Again, these would probably be in the form of questions like "how might x help you to not use the + operator here??" or "could y help you out with this?"The text was updated successfully, but these errors were encountered: