Skip to content

Glossary: Python Basics

String

Also written: str, strings

Text in quotes, such as `"mug"`. Strings cannot be changed once made, and string methods give back a new string.

Where the book teaches it

Related terms

f-string