Check if string is numeric less than 1 minute read Check if string is numeric Slicing is the way to go. def isPalindrome(s): return s == s[::-1] Share on Twitter Facebook LinkedIn Leave a comment
Leave a comment