venture of iit bombay vjti alumni if given splitlinesnum=string count('\ ')splits string at all (or numnewlines and returns list of each line with newlines removed startswith(strbeg= ,end=len(string)determines if string or substring of string (if starting index beg and ending index end are givenstarts with substring strreturns true if so and false otherwise strip([chars]performs both lstrip(and rstrip(on string swapcase(inverts case for all letters in string title(