String Methods Python Documentation, You can specify the separator, default separator is any whitespace.