Discuss / Python / 1
def is_palindrome(n):
    return str(n) == str(n)[::-1]

  • 1

Reply