Discuss / Python / 作业(先谷歌了怎样将数字颠倒)

作业(先谷歌了怎样将数字颠倒)

Topic source
def is_palindrome(n):
    return int(str(n))==int(str(n)[::-1])

  • 1

Reply