📜  空格分隔符 python 代码示例

📅  最后修改于: 2022-03-11 14:45:58.705000             🧑  作者: Mango

代码示例1
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