References: String Methods and Formatting¶
-
String (computer science) — Wikipedia article explaining what strings are in programming, how they store sequences of characters, and why they are one of the most fundamental data types across all programming languages.
-
String interpolation — Wikipedia article covering string interpolation techniques, including f-strings in Python, explaining how variables and expressions can be embedded directly inside string literals for clean, readable output.
-
Comparison of programming languages (string functions) — Wikipedia reference showing how common string operations like split, join, replace, and case conversion are implemented across different languages, providing context for Python's approach.
-
Python Crash Course by Eric Matthes (No Starch Press) — Chapter 2 and related sections cover Python string methods including
upper(),lower(),strip(), and f-strings, with beginner-friendly examples ideal for students new to text manipulation. -
Python for Kids by Jason R. Briggs (No Starch Press) — An accessible introduction to Python designed for young learners that covers string operations, formatting, and built-in methods with short, playful examples suitable for ages 10–13.
-
Python String Methods — Official Docs — The authoritative reference listing every built-in string method in Python, including
upper,lower,strip,replace,split, andjoin, with precise descriptions and usage examples. -
Python f-strings — Real Python — A thorough tutorial on Python f-strings (formatted string literals), explaining syntax, embedding expressions, formatting numbers and values, and why f-strings are the modern preferred approach to string formatting.
-
Python Strings — W3Schools — An interactive beginner reference covering Python string basics, indexing, slicing, and all major string methods, with editable in-browser code examples that reinforce the concepts in this chapter.
-
Python String Methods — Programiz — A well-organized catalog of Python string methods with clear explanations and runnable examples for each method, making it an excellent quick reference while practicing
split,join,strip, andreplace. -
Python Strings — GeeksforGeeks — A comprehensive guide to Python strings covering creation, indexing, common methods, and string formatting techniques, with multiple code examples that complement the hands-on exercises in this chapter.