Product of array except self 238 - Leetcode Python