1/11
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
.upper()
Converts all characters in a string to uppercase
.lower()
Converts all characters in a string to lowercase
.capitalize()
Capitalizes only the first character of a string
.title()
Capitalizes the first letter of every word in a string
.strip()
Removes whitespace or specific characters from the beginning and end of a string
.replace(old
new)
len()
Returns the total number of characters in a string or items in a list
.find()
Returns the index of the first time a character appears or -1 if not found
.split()
Breaks a string into a list of substrings based on a separator
.startswith(prefix)
Returns True if the string begins with the specified value
.endswith(suffix)
Returns True if the string ends with the specified value