Closed BethanyG closed 2 years ago
This issue has been automatically marked as abandoned
because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is this actually claimed? :) If not, I'd like to work on it. By the way, can we steal https://github.com/exercism/elixir/blob/main/exercises/concept/boutique-suggestions/.docs/instructions.md for this? Elixir's list comprehensions are very similar.
Hi @Steffan153! Welcome to the Python track. 👋🏽
This is indeed already claimed by me, and is in progress. Thanks for checking tho!
Flagging this as a re-do with new issue template, as this has aged, and the actions bot is getting annoying. Closing for now until the redo can happen.
This issue describes how to implement the
list-comprehensions
concept exercise for the Python track.Getting started
Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read up on the following documents:
Goal
The goal of this exercise is to teach the syntax and variants of
list comprehensions
in Python.Learning objectives
list comprehension
relates to theloop
+append
method of creating/computing aList
.loop
+append
string
,List
, or otheriterable
(such aszip()
ordict.items()
)Out of scope
generators
andgenerator expressions
inlist comprehensions
map()
andfilter()
relate to or differ fromlist comprehensions
assignment expression
(walrus operator) with alist comprehension
Concepts
list-comprehensions
Prerequisites
basics
bools
comparisons
conditionals
lists
list-methods
loops
iteration
sequences
Resources to refer to
Hints
List Comprehensions
section of the Python docs tutorial: List ComprehensionsAfter
comprehension syntax
for other data structures such assets
anddictionaries
generators
andgenerator expressions
generators
andgenerator expressions
inlist comprehensions
Representer
No changes required.
Analyzer
No changes rquired.
Implementing
Help
If you have any questions while implementing the exercise, please post the questions as comments in this issue.