I want to provide 2nd solution to the problem [9. Palindrome Number](https://leetcode.com/problems/palindrome-number/) in python.