Leetcode Simple Python Problems