# !/usr/bin/python3
# -- coding: UTF-8 --
# Author   :WindAsMe
# Date     :18-6-6 下午2:22
# File     :containsDuplicate.py
# Location:/Home/PycharmProjects/..

# LeeCode No.217


class Solution:
    @staticmethod
    def containsDuplicate(nums):
        """
        :type nums: List[int]
        :rtype: bool
        """
        return len(set(nums)) != len(nums)


if __name__ == '__main__':
    print(Solution.containsDuplicate([1,2,3,1]))
d80f11d28d7c9c280457c400264130754d55a2d0
<mask token>

class Solution:
    <mask token>


<mask token>

class Solution:

    @staticmethod
    def containsDuplicate(nums):
        """
        :type nums: List[int]
        :rtype: bool
        """
        return len(set(nums)) != len(nums)


<mask token>

class Solution:

    @staticmethod
    def containsDuplicate(nums):
        """
        :type nums: List[int]
        :rtype: bool
        """
        return len(set(nums)) != len(nums)


if __name__ == '__main__':
    print(Solution.containsDuplicate([1, 2, 3, 1]))

# !/usr/bin/python3
# -- coding: UTF-8 --
# Author   :WindAsMe
# Date     :18-6-6 下午2:22
# File     :containsDuplicate.py
# Location:/Home/PycharmProjects/..

# LeeCode No.217


class Solution:
    @staticmethod
    def containsDuplicate(nums):
        """
        :type nums: List[int]
        :rtype: bool
        """
        return len(set(nums)) != len(nums)


if __name__ == '__main__':
    print(Solution.containsDuplicate([1,2,3,1]))