Discuss / Python / 练习

练习

Topic source

Teresa委

#1 Created at ... [Delete] [Delete and Lock User]
def is_palindrome(n):
    s=str(n)
    return s==s[::-1] #取字符串倒序

  • 1

Reply