class Solution(object):
    def containsDuplicate(self, nums):
        """
        :type nums: List[int]
        :rtype: bool
        """
        numsSet=set(nums)
        if length(numsSet)<length(nums):
            return True
        return False
