def is_palindrome(n): x = str(n) y = x[::-1] if x == y: return True else: return False
Sign in to make a reply
伞内的星空
def is_palindrome(n): x = str(n) y = x[::-1] if x == y: return True else: return False