What is split () in Python?

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.
 

Tìm kiếm

Back
Top