def strip(s): """Remove leading and trailing whitespace from string s. Same as s.strip(). >>> strip(' a b\n\t') 'a b' >>> """ #. #. #. #. #. #. #. #. def remove_honorific(name): """Returns the given name, but without the optional honorific Mr, Ms, Dr, Miss, or Rev. The optional honorific is separated from the rest of the name by whitespace and may optionally be followed by a period [American, as opposed to English, usage]. Assume periods do not appear elsewhere in the name, and that the rest of the name may or may not contain a space. >>> remove_honorific('Mr Graham Chappman') 'Graham Chappman' >>> remove_honorific('Mr. Graham Chappman') 'Graham Chappman' >>> remove_honorific('Dr Who') 'Who' >>> remove_honorific('John Cleese') 'John Cleese' >>> remove_honorific('Mr. Whitefeather') 'Whitefeather' >>> """ # Hint: for a simpler solution, use the in operator #. #. #. #. #. #. #. #. #. #. def readlines(file_object): """Return a list of the remaining lines read from the file object. Same behavior as the file object readlines method, so calling this function has the same result as the method call file_object.readlines(). """ #. #. #. #. #. #. #.