Discuss / Python / 一行代码解决!

一行代码解决!

Topic source

--无魂--

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

def is_palindrome(n): return l/int(str(l)[::-1]) == 1


  • 1

Reply