txt.split('.') ['Hello', " It's good to meet you", '\nMy name is Bob', ''] >>> [x for x in map(str.strip, txt.split('.')) if x] ['Hello', "It's good to meet ...
確定! 回上一頁