Please enable JavaScript to use CodeHS

Utah Introduction to Python 1 and 2

Lesson 14.3 Strings & Lists

Description

In this lesson, students learn how to split strings into a list of characters or a list of groups of characters using list and split. They will also learn how to combine list items into a string using join.


Objective

Students will be able to:

  • Use list to separate a string into a list of characters
  • Use split to separate a string into a list of words or groups of characters depending on the element provided for the split character
  • Combine a list of elements into a string using join