Can Sum Problem In Leetcode Python Beginner