Python基础 · free preview

Working with Strings

Slice strings, clean and transform text with methods, split and join, and format values into new strings with f-strings.

1. Overview

Overview

2. Strings Are Sequences

Strings Are Sequences

3. Cleaning and Transforming Text

Cleaning and Transforming Text

4. Splitting and Joining

Splitting and Joining

5. Formatting with f-Strings

Formatting with f-Strings

6. Searching and Testing Text

Searching and Testing Text

7. Normalize a Header

Normalize a Header

8. Temperature Report

Temperature Report

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free