Skip to content

Lists - Nested For Loops #27

@s2t2

Description

@s2t2

Some students mentioned it would be helpful to talk about an example of looping through one list inside another.

for x in first_list:
    for y in second_list:
        ...

This might be a good segue to an appendix chapter on runtime complexity and Big O notation.

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