Discuss / Python / 思路字符串翻转

思路字符串翻转

Topic source

leo咕咕白

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

def is_palindrome(n):

        if str(n)==str(n)[::-1]:

            return n


  • 1

Reply