Reverse Integer Leetcode Python Problems