Python String | split()
split() method in Python split a string into a list of strings after breaking the given string by the specified separator.
Syntax : str.split(separator, maxsplit)
Parameters :
separator : This is a delimiter. The string splits at this specified separator. If is not provided then any white space is a separator.maxsplit : It is a number, which tells us to split the string into maximum of provided number of times. If it is not provided then the default is -1 that means there is no limit.




.png)