class Solution:

    def containsDuplicate(self, nums) ->bool:
        dict = {}
        for i in nums:
            if i in dict:
                return True
            else:
                dict[i] = 0
        return False


sol = Solution()
nums = [1.2, 3.1]
print(sol.containsDuplicate(nums))

c81581f5129af61b950a58f9bc44c860c7edd69b
class Solution:
    <mask token>


<mask token>

class Solution:

    def containsDuplicate(self, nums) ->bool:
        dict = {}
        for i in nums:
            if i in dict:
                return True
            else:
                dict[i] = 0
        return False


<mask token>

class Solution:

    def containsDuplicate(self, nums) ->bool:
        dict = {}
        for i in nums:
            if i in dict:
                return True
            else:
                dict[i] = 0
        return False


<mask token>
print(sol.containsDuplicate(nums))

class Solution:

    def containsDuplicate(self, nums) ->bool:
        dict = {}
        for i in nums:
            if i in dict:
                return True
            else:
                dict[i] = 0
        return False


sol = Solution()
nums = [1.2, 3.1]
print(sol.containsDuplicate(nums))
