Module 3: Technical Preparation: Strings and Arrays

Module Overview

Module 3 focuses on working with strings and arrays (lists) in Python. You'll learn how to manipulate text data using string methods, implement for-loops to iterate through sequences, and master array operations with while-loops. These skills are essential for solving coding challenges and performing well on the General Code Assessment (GCA).

Learning Objectives

Core Competencies: Strings and For-Loops

Strings and For Loops

String Basics

This section covers the fundamentals of working with strings, including:

String Case and Concatenation

Learn about manipulating the case of strings and joining them together:

Formatted Strings

Master the art of string formatting:

For Loop Refresher

Review the fundamentals of for-loops:

For Loop String Demo

See for-loops in action with strings:

Core Competencies: Arrays and While-Loops

Lists and While-Loops

Note: While these videos use the term "array," Python officially calls these data structures "lists." The concepts are essentially the same, but you'll see list in Python documentation and examples. Both terms are commonly used in programming discussions.

Array Length

Understand how to work with array sizes:

Array Access

Learn how to access array elements:

Array Modification Operations

Discover ways to modify arrays:

Array Push (Append)

Learn to add elements to arrays:

Array Delete

Master removing elements from arrays:

Array Filtering

Learn to filter arrays based on conditions:

Guided Project

In the guided project, you'll practice using LeetCode to solve programming challenges that focus on strings, arrays, and loops. You'll apply your knowledge of text processing, data transformation, and implement algorithms that manipulate collections of data.

Project Resources

Recommended LeetCode Problems

Note: For all problems, you can select Python as your programming language using the dropdown menu in the LeetCode code editor.

Practice Activities

To reinforce your understanding of the concepts covered in this module, complete the following activities:

Additional Resources

Python Documentation

Practice Resources