References: Working with Strings¶
-
String (computer science) — Wikipedia. https://en.wikipedia.org/wiki/String_(computer_science) Explains what strings are in computing, how they are stored, and why they are one of the fundamental data types found in every programming language, including Python.
-
String literal — Wikipedia. https://en.wikipedia.org/wiki/String_literal Covers the concept of writing string values directly in source code using quotation marks, including the difference between single-quoted and double-quoted literals across languages.
-
Escape character — Wikipedia. https://en.wikipedia.org/wiki/Escape_character Describes how escape sequences like
\nand\tlet programmers embed special characters inside strings, a key concept introduced in this chapter. -
Python Crash Course by Eric Matthes (No Starch Press, 2023). Chapter 2 covers Python strings in depth, including concatenation, methods, and formatting, making it an excellent companion for students who want additional worked examples and exercises.
-
Python for Kids by Jason R. Briggs (No Starch Press, 2013). Written specifically for young learners, this book introduces strings with age-appropriate examples and humor, closely matching the audience and teaching style of this chapter.
-
Python Docs — Built-in String Methods https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str The official Python reference for the
strtype, listing every built-in method with precise descriptions; the authoritative source for understandinglen()and string indexing behavior. -
Real Python — Python String Formatting https://realpython.com/python-strings/ A thorough, beginner-friendly tutorial covering string literals, concatenation, indexing, slicing, and escape characters with interactive examples directly relevant to this chapter.
-
W3Schools — Python Strings https://www.w3schools.com/python/python_strings.asp Provides concise, runnable examples for every core string concept — literals, concatenation,
len(), indexing, and escape characters — with a built-in "Try it Yourself" editor. -
Programiz — Python Strings https://www.programiz.com/python-programming/string Covers Python string fundamentals with clear diagrams showing how characters are indexed, plus short programs students can run immediately to reinforce their understanding.
-
Khan Academy — Intro to Python Fundamentals: Strings https://www.khanacademy.org/computing/intro-to-python-fundamentals/x5fcf6ce9534777be:strings An interactive video-and-exercise sequence aimed at beginners, walking through string creation, concatenation, and basic operations at a pace well suited to students ages 10–13.