在Python 中,可以使用string.punctuation 來取得所有標點符號,並且可以使用set() ... set(string.punctuation) # 判斷兩個集合是否完全相同if s_set ...
確定! 回上一頁