Tutorial series

Working with Strings in Python 3

Working with Strings in Python 3

Introduction

A string is a sequence of one or more characters (letters, numbers, symbols) that can be either a constant or a variable. Made up of Unicode, strings are immutable sequences, meaning they are unchanging.

Because text is such a common form of data that we use in everyday life, the string data type is a very important building block of programming.

This tutorial series will go over several of the major ways to work with and manipulate strings in Python 3.

Tutorials in series

Tutorial

An Introduction to Working with Strings in Python 3

Tutorial

How To Format Text in Python 3

Tutorial

An Introduction to String Functions in Python 3

Tutorial

How To Index and Slice Strings in Python 3

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.