from sets import Set
class Solution(object):
    def intersection(self, nums1, nums2):
        """
        :type nums1: List[int]
        :type nums2: List[int]
        :rtype: List[int]
        """
        return list(Set(nums1) & Set(nums2))
from sets import Set
class Solution(object):
    def intersection(self, nums1, nums2):
        """
        :type nums1: List[int]
        :type nums2: List[int]
        :rtype: List[int]
        """
        return list(Set(nums1) & Set(nums2))
:type nums1: List[int]         :type nums2: List[int]         :rtype: List[int]