You are viewing a single comment's thread. Return to all comments →
Python
return len([z for z in [abs(i-int(str(i)[::-1])) for i in list(range(i,j+1))] if z%k==0])
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
return len([z for z in [abs(i-int(str(i)[::-1])) for i in list(range(i,j+1))] if z%k==0])