def is_palindrome(n): l1= list(str(n)) l2 =list(str(n)) l2.reverse() return l1==l2
Sign in to make a reply
frantumaglia