九州体育网 - 十年信誉网站

关于作者

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

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

Topic source

Vincent_胡小金

#1 Created at ...
def is_palindrome(n):
    return int(str(n))==int(str(n)[::-1])

  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.