def productExceptSelf(nums): """ :type nums: List[int] :rtype: List[int] """ answer = nums for i in range(len(nums)): if answer[i] == nums[i]: return answer productExceptSelf([1,2,3,4])