Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Clear solution in Clear category for Integer Palindrome by U.V
def int_palindrome(a: int, N: int) -> bool:
n = []
while a > 0:
n.append(a % N)
a = a // N
return n == n[::-1]
Sept. 15, 2022