Skip to content
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] : generator-expressions #2292

Closed
BethanyG opened this issue Apr 30, 2020 · 3 comments
Closed

[New Concept Exercise] : generator-expressions #2292

BethanyG opened this issue Apr 30, 2020 · 3 comments
Assignees
Labels
claimed 🐾 For new exercises being written by contributors and maintainers. maintainer action required❕ A maintainer needs to take action on this. new exercise ✨ x:size/large Large amount of work x:status/claimed Someone is working on this issue

Comments

@BethanyG
Copy link
Member

BethanyG commented Apr 30, 2020

This issue describes how to implement the generator-expressions 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 generator expressions in Python.

Learning objectives

  • Understand how a generator expression relates to both a list comprehension and a generator
  • Understand where generator expressions can and cannot be utilized
  • Create a generator expression
  • Use a generator expression as an argument to a function such as ''.join() or sum()
  • Use a generator expression as an element of a comprehension

Out of scope

  • Memory and performance characteristics and optimizations
  • Generator methods such as throw() and close()
  • Using the assignment expression (walrus operator) with a generator expression

Concepts

  • generator expressions

Prerequisites

  • basics
  • conditionals
  • comparisons
  • loops
  • generators
  • iterators
  • iteration
  • list-comprehensions
  • other-comprehensions

Resources to refer to

Hints

After

  • Additional Generator-iterator methods, such as generator.send() and generator.throw()
  • generator expressions
  • Asynchronous generator functions
  • generators used as coroutines

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.

@BethanyG BethanyG self-assigned this Nov 10, 2020
@BethanyG BethanyG changed the title [Python] Implement new Concept Exercise: generator-expressions [V3] Implement new Concept Exercise: generator-expressions Jan 28, 2021
@BethanyG BethanyG transferred this issue from exercism/v3 Jan 28, 2021
@BethanyG BethanyG added this to the First 22 Concept Exercises Due for V3 milestone Jan 29, 2021
@github-actions
Copy link
Contributor

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.

@BethanyG BethanyG modified the milestones: First 22 Concept Exercises Due for V3, New V3 Concept Exercises Mar 31, 2021
@BethanyG BethanyG modified the milestones: New V3 Concept Exercises, V3 Concept Exercises for Beta May 21, 2021
@BethanyG BethanyG changed the title [V3] Implement new Concept Exercise: generator-expressions [New Concept Exercise] : generator-expressions Jun 16, 2021
@BethanyG BethanyG added x:module/concept-exercise Work on Concept Exercises x:status/claimed Someone is working on this issue x:size/large Large amount of work claimed 🐾 For new exercises being written by contributors and maintainers. new exercise ✨ and removed x:module/concept-exercise Work on Concept Exercises labels Jun 16, 2021
@BethanyG BethanyG removed this from the V3 Concept Exercises for Beta milestone Jun 14, 2022
@exercism exercism deleted a comment from github-actions bot Jul 6, 2022
@github-actions
Copy link
Contributor

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.

@BethanyG BethanyG added maintainer action required❕ A maintainer needs to take action on this. and removed abandoned 🏚 labels Sep 13, 2022
@BethanyG
Copy link
Member Author

Flagging as close and reopen under new issue template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
claimed 🐾 For new exercises being written by contributors and maintainers. maintainer action required❕ A maintainer needs to take action on this. new exercise ✨ x:size/large Large amount of work x:status/claimed Someone is working on this issue
Projects
None yet
Development

No branches or pull requests

1 participant