String Manipulation

Learn about string manipulation and its implementation using multiple methods.

Overview

Strings can be created in Python by wrapping a sequence of characters in single or double quotes. Multiline strings can easily be created using three quote characters, and multiple hardcoded strings can be concatenated together by placing them side by side. Here are some examples:

Get hands-on with 1200+ tech skills courses.