為了從字串中刪除特殊字元,我們也可以使用 filter(str.isalnum, string) 方法,與上面解釋的方法類似。但在這種方法中,我們將不使用 str.isalnum() 方法 ...
確定! 回上一頁