Skip to content

expand on iteration for containers #11

Open

Description

@sebhmg
  • looping over keys and indices with enumerate()
  • list, set and dictionary comprehension: filter and transform [ x*x for x in range(0,10) if x % 2 == 0]
  • vs. generator expression (x*x for x in range(0,big_number) if x % 2 == 0)

Activity

  1. changed the title [-]expand on iteration fro containers[/-] [+]expand on iteration for containers[/+] on Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions