In python, to count words in string, we can use the split() function, we can also make use of the count function and for loop.
確定! 回上一頁