Discuss / Python / 交作业

交作业

Topic source

梦炸

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

def is_palindrome(n): return n>9 and str(n)[::-1]==str(n)#[::-1] 倒序


  • 1

Reply