Discuss / Python / 作业

作业

Topic source

城南梦想

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

def is_palindrome(n): return int(str(n)[::-1]) == n print(list(filter(is_palindrome,range(10,100))))


  • 1

Reply