Discuss / Python / 一种解法

一种解法

Topic source

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

def the_same(m):

    m =str(m)

    return m == m[::-1]

L = list(filter(the_same,[121,333,434,234232]))

print(L)


  • 1

Reply