Pascal Triangle Leetcode Python Practice