Repeated Number Leetcode Python Problems Practice