Skip to content

expand on iteration for containers #11

@sebhmg

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions