Flash cards
Review the key moves
What is the main idea behind Python - Modify Strings?
Lesson checks
Practice each idea before moving on
Short Mimo-style checks built from this lesson's code, terms, and sequence.
Which statement best captures the main point of this lesson?
Put the learning moves in the order that makes the concept easiest to apply.
Python has a set of built-in methods that you can use on strings.
Upper Case
upper()Lower Case
lower()Remove Whitespace
Whitespace is the space before and/or after the actual text, and very often you want to remove this space.
strip()Replace String
replace()Split String
The split() method returns a list where the text between the specified separator becomes the list items.
split()Learn more about Lists in our Python Lists chapter.
String Methods
Learn more about String Methods with our String Methods Reference