class Solution(object): def findNumberAppearingOnce(self, nums): """ :type nums: List[int] :rtype: int """ for i in nums: if nums.count(i) == 1: return i return 0