Refer to the code below where we are using collections.Counter():. >>> from collections import Counter. >>> >>> Counter(map(tuple,data)).
確定! 回上一頁