<filename>python/136-Single-Number.py
# 136. Single Number
class Solution:
    def singleNumber(self, nums: List[int]) -> int:
        ans = 2 * sum(set(nums)) -sum(nums)
        return ans
<filename>python/136-Single-Number.py
# 136. Single Number
class Solution:
    def singleNumber(self, nums: List[int]) -> int:
        ans = 2 * sum(set(nums)) -sum(nums)
        return ans
# 136. Single Number