check if string `str` is palindrome,str(n) == str(n)[::-1]