Lecture

What Will You Learn in This Chapter?

In this chapter, you'll learn string formatting — shaping strings exactly the way you want — and the many string methods Python provides.

From the format() function to the modern f-string syntax, let's master the string techniques used most in real-world code.

Flip through the cards below to preview what you'll learn and the goals of this chapter.

Lecture

AI Tutor

Help