Discuss / Python / 作业

作业

Topic source

曹曹曹___

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

def is_palindrome(n): return str(n) == str(n)[::-1] L = list(filter(is_palindrome,range(1000))) print(L)


  • 1

Reply