Vương Tuấn Khải
New member
What is split () in Python?
Answer
The split() method in Python
returns a list of the words in the string/line , separated by the delimiter string. This method will return one or more new strings. All substrings are returned in the list datatype.
Answer
The split() method in Python
returns a list of the words in the string/line , separated by the delimiter string. This method will return one or more new strings. All substrings are returned in the list datatype.