Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
11 Cards in this Set
- Front
- Back
string |
a sequence of characters, immutable |
|
immutable |
cannot concat with other data types, values cannot be changed or assigned |
|
traversal |
computations involve processing strings, one character at a time, which starts at the first index and ends with the last |
|
slice |
segment of a string |
|
methods |
takes arguments and returns a value, similar to a function |
|
capitalize() |
returns a copy of the string with only its first character capitalized |
|
find() |
returns the lowest index in a string where the subtring(the parameter of find) is found |
|
join() |
returns a concatenation of strings in a sequence found in the parameter of join |
|
split() |
returns a list of words in the string separated by a space. Delimiters can be indicated in the parameters |
|
lower(),upper() |
returns a copy of a string that is converted to lowercase or uppercase respectively |
|
swapcase() |
returns a copy of the string with uppercase characters converted to lowercase and vice versa |