The split() method in Python returns a list of the words in the string/line , separated by the delimiter string. This method will return one or more new strings. All substrings are returned in the list datatype.
separator : The is a delimiter. The string splits at this specified separator. If is not provided then any white space is a separator.
max : It is a number, which tells us to split the string into maximum of provided number of times. If it is not provided then there is no limit.
Return: The split() breaks the string at the separator and returns a list of strings.