Discuss / Python / 作业

作业

Topic source

SetNM

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

def is_palindrome(n):

    s = str(n)

    return s == s[::-1]


  • 1

Reply