You are viewing a single comment's thread. Return to all comments →
PYTHON SOLUTION
c = 0 for n in range(i,j+1): a = int(str(n)[::-1]) if abs(n-a)%k == 0: c += 1 return c
Seems like cookies are disabled on this browser, please enable them to open this website
Beautiful Days at the Movies
You are viewing a single comment's thread. Return to all comments →
PYTHON SOLUTION