Split string and remove whitespace in Python # · Use the str.split() method to split the string into a list. · Use a list comprehension to iterate over the list.
確定! 回上一頁