Whitespace Delimiter Python
The Pythonic way of splitting on a string in Python uses the str.split(sep)
function. It splits the string based on the specified delimiter sep.
When the delimiter is not provided, the consecutive whitespace is treated
as a separator.
this phenomenon (treating consecutive whitespace as a separator) is called
whitespace delimiter in python
Rajitha Amarasinghe