Basic syntax: len(set(my_list)) # By definition, sets only contain unique elements, so when the list # is converted to a set all duplicate.
確定! 回上一頁