Discuss / Python / 作业

作业

Topic source

def is_palindrome(n):

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

切片真好用!


  • 1

Reply