Discuss / Python / 看看

看看

Topic source

罗什么O

#1 Created at ... [Delete] [Delete and Lock User]

def is_palindrome(n):

    s = str(n)

    if s[0::] == s[::-1]:

        return True


  • 1

Reply