def is_palindrome(n): def aaa(a): s = str(a) if s[::-1] == s: return True else: return False return list(filter(aaa,n))
Sign in to make a reply
孟祥森丶
def is_palindrome(n): def aaa(a): s = str(a) if s[::-1] == s: return True else: return False return list(filter(aaa,n))