Python String Operations

Let's review some useful Python string methods.

Reviewing some useful string operations

In Python, the text is represented by strings, objects of the str class. Strings are immutable sequences of characters. Creating a string object is easy—we enclose the text in quotation marks:

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy