-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[New Concept Exercise] : other-comprehensions #2294
Comments
This issue has been automatically marked as |
This issue has been automatically marked as |
Flagging as close and reopen with new issue template. |
This issue describes how to implement the
other-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
set comprehensions
anddict comprehensions
in Python.Learning objectives
set
anddict
comprehensions relate to their underlying data structures and theloop
+append
method of creating/computing them.dict
comprehension from aloop
+append
set
comprehension from aloop
+append
dict
comprehension fromLists
,Sets
,Tuples
, or otheriterables
(such aszip()
ordict.items()
)set
comprehension fromLists
,Sets
,Tuples
, or otheriterables
(such aszip()
ordict.items()
)Out of scope
generators
andgenerator expressions
inother comprehensions
collections
in combination with, or as part of aset
ordict
comprehension.assignment expression
(walrus operator) with either flavor of comprehension.Concepts
dict-comprehensions
set-comprehensions
comprehension syntax
Prerequisites
basics
bools
conditionals
comparisons
loops
iteration
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.
The text was updated successfully, but these errors were encountered: