Please enable JavaScript to use CodeHS

Utah Introduction to Python 2

Lesson 5.2 Substrings

Description

In this lesson, students learn how to access multiple characters in a string using slicing.


Objective

Students will be able to:

  • Access multiple characters in a string using slicing
  • Describe which characters will be included in a slice when two values, one value, or no values are used (ie: #:#, #:, :#, :)