len() function is used to count how many characters long a string is. Get the first part of a string stored in the variable called phrase. Note: Remember about type conversion.