关于作者

Discuss / Python / fliter

fliter

Topic source

逍遥的老蒋

#1 Created at ...

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


  • 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.