Row Sum Print Leetcode Playground Python