如果string內分隔的符號是white space,可以直接用split方法 >>> word='a b c d e' >>> wordlist = word.split() >>> print(type(wordlist)) <type ...
確定! 回上一頁