Leetcode Check Palindrome In Python W3schools