Discuss / Python / 作业

作业

Topic source

恁麻了批

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

def is_palindrome(n):

    strNum = str(n)

    return strNum == strNum[::-1]


  • 1

Reply