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 : ...
- maxsplit : It is a number, which tells us to split the string into maximum of provided number of times.