Skip to content

Add "List & Collections" Section #3

@danielcristho

Description

@danielcristho

After learning strings, learners need to understand how to store and manage multiple values in Python. This material is a foundation for loops, conditionals, etc.

Scope of Material

This section should introduce core collection concepts, focusing mainly on lists:

  • What is a list in Python

  • Creating lists

  • Accessing elements (indexing)

  • Modifying list values

  • List methods that are often used:

  1. .append()
  2. .insert()
  3. .remove()
  4. .pop()
  5. .sort()
  6. .len()
  • List slicing

Intro to other collections:

  1. tuple
  2. set
  3. dict

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions