Please enable JavaScript to use CodeHS

Teaching Intro to Computer Science in Python 3

Advanced Python Bootcamp

This module dives into strings, iterating through strings, string methods, and data structures like tuples and lists.

Lessons

5.1 Indexing

  • Indexing
  • Indexing
  • Characters in a String
  • Unit Tests
  • Initials
  • +1 more

5.2 Slicing

  • Slicing
  • Slicing
  • Groups of Characters
  • String Collage
  • Room Names
  • +4 more

5.3 Strings and For Loops

  • Strings and For Loops
  • Strings and For Loops
  • The len Function
  • Length of User's Name
  • String For Loop with Indices
  • +3 more

5.4 The in Keyword

  • The in Keyword
  • The in Keyword
  • Contains a Letter
  • Contains a Substring
  • Contains a Vowel

5.5 String Methods

  • String Methods
  • String Methods
  • upper and lower
  • ENTHUSIASM!
  • swapcase
  • +6 more

5.6 Tuples

  • Tuples
  • Tuples
  • A Tuple Is a Sequence
  • A Tuple is Heterogeneous
  • Tuples With a Single Element
  • +5 more

5.7 Lists

  • Lists
  • Lists
  • A List Is Like a Mutable Tuple
  • String <--> List
  • Spell It Out
  • +3 more

5.8 For Loops and Lists

  • For Loops and Lists
  • For Loops and Lists
  • For Loops and Lists
  • For Loops and Lists, Part 2
  • Max In List
  • +4 more

5.9 List Methods

  • List Methods
  • List Methods
  • append and extend
  • How Many Names?
  • Five Numbers
  • +8 more