Discuss / Python / 1

frantumaglia

#1 Created at ... [Delete] [Delete and Lock User]
def is_palindrome(n):        l1= list(str(n))    l2 =list(str(n))    l2.reverse()    return l1==l2

  • 1

Reply